-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
82 changed files
with
3,360 additions
and
2,154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,97 +1,163 @@ | ||
import Link from "@docusaurus/Link"; | ||
import { TutorialHeaderProps } from "@site/src/components/TutorialHeader"; | ||
|
||
const TRANSFEROVERVIEW: TutorialHeaderProps = | ||
{ | ||
time: "2 - 5 min", | ||
topics: [ | ||
{ label: "Cell Model", link:"/docs/tech-explanation/cell-model" }, | ||
{ label: "Transaction", link:"/docs/tech-explanation/glossary#transaction" }, | ||
{ label: "Witness", link:"/docs/tech-explanation/glossary#witness" }, | ||
{ label: "Signature", link:"/docs/tech-explanation/glossary#cryptographic-signature" }, | ||
], | ||
tools: [ | ||
<div>An IDE/Editor that supports TypeScript</div>, | ||
<div> | ||
<Link href={"https://nodejs.org/en"} target="_blank" rel="noopener noreferrer"> | ||
Node.js | ||
</Link>{' and '} | ||
<Link href={"https://yarnpkg.com/"} target="_blank" rel="noopener noreferrer"> | ||
Yarn | ||
</Link> | ||
</div>, | ||
<div>CKB dev environment: <Link to={"/docs/node/run-devnet-node/#quick-setup-with-offckb"}>OffCKB</Link></div> | ||
], | ||
} | ||
const WRITEOVERVIEW: TutorialHeaderProps = | ||
{ | ||
time: "2 - 5 min", | ||
topics: [ | ||
{ label: "Cell Model", link:"/docs/tech-explanation/cell-model" }, | ||
{ label: "Data", link:"/docs/tech-explanation/glossary#data" }, | ||
{ label: "Transaction Hash", link:"/docs/tech-explanation/glossary#transaction-hash" }, | ||
], | ||
tools: [ | ||
<div>An IDE/Editor that supports TypeScript</div>, | ||
<div> | ||
<Link href={"https://nodejs.org/en"} target="_blank" rel="noopener noreferrer"> | ||
Node.js | ||
</Link>{' and '} | ||
<Link href={"https://yarnpkg.com/"} target="_blank" rel="noopener noreferrer"> | ||
Yarn | ||
</Link> | ||
</div>, | ||
<div>CKB dev environment: <Link to={"/docs/node/run-devnet-node/#quick-setup-with-offckb"}>OffCKB</Link></div> | ||
], | ||
} | ||
const TOKENOVERVIEW: TutorialHeaderProps = | ||
{ | ||
time: "5 - 10 min", | ||
topics: [ | ||
{ label: "UDT", link:"/docs/tech-explanation/glossary#udt" }, | ||
{ label: "Fungible Token", link:"/docs/tech-explanation/glossary#fungible-token" }, | ||
{ label: "xUDT", link:"https://github.com/XuJiandong/rfcs/blob/xudt/rfcs/0052-extensible-udt/0052-extensible-udt.md" }, | ||
], | ||
tools: [ | ||
<div>An IDE/Editor that supports TypeScript</div>, | ||
<div> | ||
<Link href={"https://nodejs.org/en"} target="_blank" rel="noopener noreferrer"> | ||
Node.js | ||
</Link>{' and '} | ||
<Link href={"https://yarnpkg.com/"} target="_blank" rel="noopener noreferrer"> | ||
Yarn | ||
</Link> | ||
</div>, | ||
<div>CKB dev environment: <Link to={"/docs/node/run-devnet-node/#quick-setup-with-offckb"}>OffCKB</Link></div> | ||
], | ||
} | ||
const DOBOVERVIEW: TutorialHeaderProps = | ||
{ | ||
time: "5 - 10 min", | ||
topics: [ | ||
{ label: "DOB", link:'/docs/tech-explanation/glossary#digital-object-dob' }, | ||
{ label: "NFT", link: '/docs/tech-explanation/glossary#non-fungible-token' }, | ||
{ label: "Spore Protocol", link: 'https://spore.pro' }, | ||
], | ||
tools: [ | ||
<div>An IDE/Editor that supports TypeScript</div>, | ||
<div> | ||
<Link href={"https://nodejs.org/en"} target="_blank" rel="noopener noreferrer"> | ||
Node.js | ||
</Link>{' and '} | ||
<Link href={"https://yarnpkg.com/"} target="_blank" rel="noopener noreferrer"> | ||
Yarn | ||
</Link> | ||
</div>, | ||
<div>CKB dev environment: <Link to={"/docs/node/run-devnet-node/#quick-setup-with-offckb"}>OffCKB</Link></div> | ||
], | ||
} | ||
|
||
|
||
export { | ||
TRANSFEROVERVIEW, | ||
WRITEOVERVIEW, | ||
TOKENOVERVIEW, | ||
DOBOVERVIEW | ||
const TRANSFEROVERVIEW: TutorialHeaderProps = { | ||
time: "2 - 5 min", | ||
topics: [ | ||
{ label: "Cell Model", link: "/docs/tech-explanation/cell-model" }, | ||
{ | ||
label: "Transaction", | ||
link: "/docs/tech-explanation/glossary#transaction", | ||
}, | ||
{ label: "Witness", link: "/docs/tech-explanation/glossary#witness" }, | ||
{ | ||
label: "Signature", | ||
link: "/docs/tech-explanation/glossary#cryptographic-signature", | ||
}, | ||
], | ||
tools: [ | ||
<div>An IDE/Editor that supports TypeScript</div>, | ||
<div> | ||
<Link | ||
href={"https://nodejs.org/en"} | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
Node.js | ||
</Link> | ||
{" and "} | ||
<Link | ||
href={"https://yarnpkg.com/"} | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
Yarn | ||
</Link> | ||
</div>, | ||
<div> | ||
CKB dev environment:{" "} | ||
<Link to={"/docs/node/run-devnet-node/#quick-setup-with-offckb"}> | ||
OffCKB | ||
</Link> | ||
</div>, | ||
], | ||
}; | ||
|
||
const WRITEOVERVIEW: TutorialHeaderProps = { | ||
time: "2 - 5 min", | ||
topics: [ | ||
{ label: "Cell Model", link: "/docs/tech-explanation/cell-model" }, | ||
{ label: "Data", link: "/docs/tech-explanation/glossary#data" }, | ||
{ | ||
label: "Transaction Hash", | ||
link: "/docs/tech-explanation/glossary#transaction-hash", | ||
}, | ||
], | ||
tools: [ | ||
<div>An IDE/Editor that supports TypeScript</div>, | ||
<div> | ||
<Link | ||
href={"https://nodejs.org/en"} | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
Node.js | ||
</Link> | ||
{" and "} | ||
<Link | ||
href={"https://yarnpkg.com/"} | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
Yarn | ||
</Link> | ||
</div>, | ||
<div> | ||
CKB dev environment:{" "} | ||
<Link to={"/docs/node/run-devnet-node/#quick-setup-with-offckb"}> | ||
OffCKB | ||
</Link> | ||
</div>, | ||
], | ||
}; | ||
const TOKENOVERVIEW: TutorialHeaderProps = { | ||
time: "5 - 10 min", | ||
topics: [ | ||
{ label: "UDT", link: "/docs/tech-explanation/glossary#udt" }, | ||
{ | ||
label: "Fungible Token", | ||
link: "/docs/tech-explanation/glossary#fungible-token", | ||
}, | ||
{ | ||
label: "xUDT", | ||
link: "https://github.com/XuJiandong/rfcs/blob/xudt/rfcs/0052-extensible-udt/0052-extensible-udt.md", | ||
}, | ||
], | ||
tools: [ | ||
<div>An IDE/Editor that supports TypeScript</div>, | ||
<div> | ||
<Link | ||
href={"https://nodejs.org/en"} | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
Node.js | ||
</Link> | ||
{" and "} | ||
<Link | ||
href={"https://yarnpkg.com/"} | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
Yarn | ||
</Link> | ||
</div>, | ||
<div> | ||
CKB dev environment:{" "} | ||
<Link to={"/docs/node/run-devnet-node/#quick-setup-with-offckb"}> | ||
OffCKB | ||
</Link> | ||
</div>, | ||
], | ||
}; | ||
const DOBOVERVIEW: TutorialHeaderProps = { | ||
time: "5 - 10 min", | ||
topics: [ | ||
{ | ||
label: "DOB", | ||
link: "/docs/tech-explanation/glossary#digital-object-dob", | ||
}, | ||
{ | ||
label: "NFT", | ||
link: "/docs/tech-explanation/glossary#non-fungible-token", | ||
}, | ||
{ label: "Spore Protocol", link: "https://spore.pro" }, | ||
], | ||
tools: [ | ||
<div>An IDE/Editor that supports TypeScript</div>, | ||
<div> | ||
<Link | ||
href={"https://nodejs.org/en"} | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
Node.js | ||
</Link> | ||
{" and "} | ||
<Link | ||
href={"https://yarnpkg.com/"} | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
Yarn | ||
</Link> | ||
</div>, | ||
<div> | ||
CKB dev environment:{" "} | ||
<Link to={"/docs/node/run-devnet-node/#quick-setup-with-offckb"}> | ||
OffCKB | ||
</Link> | ||
</div>, | ||
], | ||
}; | ||
|
||
export { TRANSFEROVERVIEW, WRITEOVERVIEW, TOKENOVERVIEW, DOBOVERVIEW }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.