Work with NFTs

circle-check
circle-check

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.

circle-check

You can use MetaMaskarrow-up-right or any other Web3 wallet when working on Chiliz Chain:

How to use MetaMaskchevron-right

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

Connect to Mainnet and Testnetchevron-right

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 Tokenschevron-right

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 NFT contractchevron-rightDeploy a Smart Contractchevron-rightVerify a Smart Contractchevron-right

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.

Preparing the NFT fileschevron-rightHosting your NFT on IPFSchevron-right

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 viemchevron-rightMinting with thirdwebchevron-rightMinting with Rariblechevron-right

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 OKXchevron-right

Last updated

Was this helpful?