|
16 | 16 | ---
|
17 | 17 | import OpenZeppelin from '../fundamentals/open_zeppelin.mdx'
|
18 | 18 | import DecentralizedStorage from '../fundamentals/decentralized-storage.mdx'
|
| 19 | +import InstallNpm from '../fundamentals/install-npm.mdx' |
| 20 | +import TokenStandards from '../fundamentals/token-standards.mdx' |
19 | 21 |
|
20 | 22 | # Lesson 2: Build a Basic NFT
|
21 | 23 |
|
@@ -74,11 +76,9 @@ We will be using `npm`, the package manager from Node, and its command `npx`
|
74 | 76 | that allows us to run or execute a package or one of its scripts. If you are
|
75 | 77 | comfortable with another package manager, feel free to use it.
|
76 | 78 |
|
77 |
| - |
78 |
| -<Callout emoji='💡' size='md' variant='info'> |
79 |
| -To install `npm` on your system, please follow the instructions on |
80 |
| -[this link](/lessons/fundamentals/install-npm). |
81 |
| -</Callout> |
| 79 | +<SideDrawer title=" " buttonText="How to install NPM on your system"> |
| 80 | + <InstallNpm/> |
| 81 | +</SideDrawer> |
82 | 82 |
|
83 | 83 | Let’s create and `cd` into our D_D Academy projects folder, and create a
|
84 | 84 | folder for our NFT project:
|
@@ -245,11 +245,15 @@ be using for this contract and the last two lines are how we declare a smart
|
245 | 245 | contract in solidity.
|
246 | 246 |
|
247 | 247 | With an empty project, now we can start adding what we need to create our
|
248 |
| -awesome NFT collection. In particular, [ERC721](/lessons/fundamentals/token-standards) (the |
| 248 | +awesome NFT collection. In particular, ERC721 (the |
249 | 249 | formal specification to follow for NFTs) have a lot of requirements to meet
|
250 | 250 | (they should have a numbered ID, functions to transfer them, approve others as
|
251 | 251 | delegates to transfer them, etc).
|
252 | 252 |
|
| 253 | +<SideDrawer title=" " buttonText="More about Token Standards"> |
| 254 | + <TokenStandards/> |
| 255 | +</SideDrawer> |
| 256 | + |
253 | 257 | All of it is pretty much for our project, but luckily OpenZeppelin has developed
|
254 | 258 | a lot of contracts that implements these standards and more, they are widely
|
255 | 259 | used and audited and, the thing we love about them, they are open-source and we
|
|
0 commit comments