Work with NFTs

Prerequisites

Three things are necessary for you to mint NFTs:

1. A Web3 wallet

To interact with Chiliz Chain (Chiliz Chain Mainnet or Spicy Testnet), you need a Web3 wallet address with some amount of CHZ on it. CHZ is the native Chiliz Chain token.

You can use MetaMask or any other Web3 wallet when working on Chiliz Chain:

How to use MetaMask

Once installed, set your wallet up to work with Chiliz Chain:

Connect to Mainnet and Testnet

Make sure to obtain CHZ tokens in order to pay for gas fees on Chiliz Chain Mainnet. You can buy CHZ on any exchange such as Binance, Coinbase, Bitpanda, etc.

To test your ability to mint NFTs on Chiliz Chain, you should use the Spicy Testnet with test CHZ tokens. You can obtain free tokens through testnet faucets:

Obtain Free Testnet Tokens

2. A deployed NFT smart contract

Before a file can be minted into an NFT, you must deploy and verify a corresponding NFT smart contract on Chiliz Chain. This is a crucial step to ensure transparency and enable interaction with your contract on-chain.

Choosing the right contractDeploy a Smart ContractVerify a Smart Contract

3. An online location for your NFT files & metadata

One essential part of your NFT is to have it available online, for all to see. One way to do that it to have your media file (image/video/etc.) and its metadata.json file accessible via IPFS.

Hosting your NFT on IPFS

Minting an NFT

There are several ways to mint NFTs on Chiliz Chain, depending on your needs. These pages aim to present the most recommended ways.

Minting with viemMinting with thirdwebMinting with Rarible

Listing an NFT for sale

For developers and creators, "hosting" an NFT effectively means listing your assets on an online NFT marketplace so they are visible, tradable, and indexed for users.

Listing your NFT on OKX

Last updated

Was this helpful?