is an open-source NFT infrastructure and digital identity product that provides pre-built ‘kits’ that can be used as a springboard for Web3 development. Kits offered by include an SSI kit, a crypto wallet kit, and an NFT kit. This tutorial will showcase the NFT kit.
Read below to learn how to mint an NFT with and Filebase.
Prerequisites:
1. Start by cloning the NFT Kit GitHub repository:
5. Next, build the docker container with the following command:
docker build -t nftkit .
6. Then, run the container:
docker run -p 7000:7000 -it nftkit
7. To mint NFTs, we need some images stored on IPFS.
Select ‘Create Bucket’ in the top right corner to create a new bucket for your NFTs.
9. Enter a bucket name and choose the IPFS storage network to create the bucket.
Bucket names must be unique across all Filebase users, be between 3 and 63 characters long, and can contain only lowercase characters, numbers, and dashes.
10. Now, upload your NFTs to Filebase using the web console and select ‘Folder’, then select the folder that contains your NFT files.
These files need to be named in sequential order, such as 0.png, 1.png, 2.png, etc.
11. You will see your folder uploaded as a single object:
12. Copy the CID of your folder:
13. Navigate to your IPFS Folder using the Filebase IPFS gateway to see your folder’s files:
https://ipfs.filebase.io/ipfs/IPFS_CID
14. Now it’s time to create the smart contract for our NFTs.
Use the following CURL command to deploy a smart contract on the Polygon Mumbai network: