Walt.id: Mint an NFT with Walt.id and Filebase
Learn how to mint an NFT with Walt.id and Filebase.
- Have some Mumbai Testnet Currency.
git clone https://github.com/walt-id/waltid-nftkit.git
cd waltid-nftkit
./src/main/resources/walt-default.yaml
hikariDataSource:
jdbcUrl: jdbc:sqlite:data/walt.db
maximumPoolSize: 5
autoCommit: false
dataSource:
journalMode: WAL
fullColumnNames: false
azureKeyVaultConfig:
baseURL:
id:
secret:
providers:
ethereum: "ethereum"
goerli: "https://eth-goerli.g.alchemy.com/v2/e8No6Y2awTnVnf2tAgj-h-sImyCxzXpg"
polygon: "https://polygon-mainnet.g.alchemy.com/v2/yjbYhlaH3U_vfnTiRQ3miGQS0cKwQMkB"
mumbai: "https://polygon-mumbai.g.alchemy.com/v2/yjbYhlaH3U_vfnTiRQ3miGQS0cKwQMkB"
privateKey: "PRIVATE_KEY"
docker build -t nftkit .
docker run -p 7000:7000 -it nftkit
To do this, navigate to console.filebase.com. If you don’t have an account already, sign up, then log in.
Select ‘Create Bucket’ in the top right corner to create a new bucket for your NFTs.

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.

These files need to be named in sequential order, such as 0.png, 1.png, 2.png, etc.


https://ipfs.filebase.io/ipfs/IPFS_CID
Use the following CURL command to deploy a smart contract on the Polygon Mumbai network:
curl -X POST http://0.0.0.0:7000/nftkit/nft/chain/MUMBAI/contract/deploy \\
-H "Content-Type: application/json" \\
-d '{"name":"Ticket","symbol":"TK","tokenStandard":"ERC721","accessControl":"OWNABLE","options":{"transferable":true,"burnable":true}}'
curl -X POST "http://0.0.0.0:7000/nftkit/nft/chain/MUMBAI/contract/CONTRACT_ADDRESS/token/mint" \\
-H "Content-Type: application/json" \\
-d '{"metadataUri":"","metadata":{"description":"NFT #1 Description","name":"NFT #1","image":"ipfs://CID/0.png","attributes":[{"trait_type":"Trait 1","value":"Value 1"}]},"recipientAddress":"WALLET_ADDRESS","metadataStorageType":"ON_CHAIN"}'
Replace the following values:
- CONTRACT_ADDRESS: The smart contract address you took note of in the previous step.
- CID: The IPFS folder CID you copied earlier.
- WALLET_ADDRESS: Your crypto wallet address.
curl -X GET "http://0.0.0.0:7000/nftkit/nft/chain/MUMBAI/contract/CONTRACT_ADDRESS/token/1/metadata"
Replace the following value:
- CONTRACT_ADDRESS: The smart contract address used to mint your NFTs.
If you have any questions, please join our Discord server, or send us an email at [email protected]
Last modified 5mo ago