Next head over to thirdweb.com/start, you will be guided through a setup process.
These steps are to get your metamask setup.
These steps are for choosing the chain network, we'll go with the rinkeby testnet.
Our NFT will be minted on this "fake" test network called rinkeby for free.
Now we can create the project to which we'll be adding the NFT module to create NFTs 😋
Adding the NFT module... and volia!
We actually can now mint NFTs straight from the dashboard.
But we don't do that, we're JavaScript programmers.
Make sure you copy the "module address" from the previous step which we'll use in the code.
Just click on the pill and it'll copy it for you.
Now onto the code.
Using these commands we'll install the thirdweb sdk and types.
Additionally you can install TypeScript if thats your jam.
We'll import the thirdweb library and ethers js for connecting our wallet and also import the private key that you should remember from the metamask guide.
Remember to store your private key safely and do not share them with anyone.
We will now instantiate the sdk, add our private key and connect to the blockchain.
Finally can add the module address from the dashboard and mint the NFT.
We're adding details like the same of the NFT,description and the URL of the image that is going to be an NFT.
Run the code and you have just minted your very first NFT, congratulations! 🎉
All it took was 15 minutes of setup and ~10 lines of JavaScript.
If you liked this thread make sure to follow @PrasoonPratham and retweet it.
I'll teach you all about web3!
Want to read this thread later on?
Save it as a link, there's also additional content in this guide 👇🏻