thirdweb: Create an NFT Marketplace with thirdweb and IPFS
Learn how to create an NFT marketplace with thirdweb and IPFS.
What is thirdweb?
1. Start by navigating to the thirdweb dashboard and connecting your crypto wallet.

2. Select ‘Deploy New Contract'.

3. Under 'NFTs', select ‘NFT Collection’:


4. Give your NFT collection a name, icon, and description, then confirm that the recipient address is your crypto wallet address.

5. Select ‘Deploy Now’ and confirm the transaction through your crypto wallet.
6. Next, we need to create an IPFS bucket on Filebase.
7. Select ‘Buckets’ from the left sidebar menu, or navigate to.

8. Enter a bucket name and choose the IPFS storage network to create the bucket.

9. Now, upload your NFTs to Filebase using the web console and selecting ‘Folder’, then select the folder that contains your NFT files.
10. You will see your folder uploaded as a single object:

11. Copy the CID of your folder:

12. Navigate to your IPFS Folder using the Filebase IPFS gateway to see your folder’s files:
13. Head back to the thirdweb dashboard, where you will see the page for your NFT collection.

14. Open a command line window and install the thirdweb SDK:
15. Open an IDE such as VSCode and insert the following code, replacing the following values:
16. Save this script as mint.js, then run this script with the command:
17. Refresh your thirdweb dashboard. Your NFTs will be listed.

18. Navigate to the thirdweb Dashboard, then select ‘Deploy New Contract’:

19. From the 'Marketplace' options, select ‘Marketplace’.


20. Give your marketplace a name, description, and image to use as an icon.

21. After confirming the transaction through your crypto wallet, you’ll see your NFT marketplace’s dashboard. Select ‘Listings', then 'New Listing'.

22. Select the NFT you’d like to list for sale, then set a sale price for your NFT to be purchased.

23. Select ‘Create Listing’ to add your NFT to your marketplace.
24. Repeat this process to list all the NFTs in your collection.

25. Select the ‘Embedded’ tab. Edit any of the visual settings to match your intended configuration.


Previousthirdweb: Create a Gated Website Using NFTs and IPFSNextthirdweb: Release an NFT Drop Using thirdweb and IPFS
Last updated