Work with NFTs
What is an NFT?
As per Wikipedia, "A non-fungible token (NFT) is a unique digital identifier that is recorded on a blockchain and is used to certify ownership and authenticity. It cannot be copied, substituted, or subdivided. The ownership of an NFT is recorded in the blockchain and can be transferred by the owner, allowing NFTs to be sold and traded."
In effect, an NFT is made of:
a media file (image, video) available online,
its attached metadata file, which notably features the web address where the media file is stored,
a blockchain's block, which stores the metadata file along with an NFT-centric smart contract that offers methods to interact with the NFT.
NFTs on Chiliz Chain follow the EVM standards (for instance: ERC721, ERC-1155, etc.), which ensure interoperability across tools and marketplaces.
What is NFT minting?
NFT minting is the process of taking a digital file (such as an image, a video, or a piece of music) and turning it into an on-chain token: a verifiable digital asset that can be owned and transferred.
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.
A Web3 wallet serves as both storage for your CHZ tokens, and as your digital signature to approve on-chain actions.
You can use MetaMask or any other Web3 wallet when working on Chiliz Chain:
How to use MetaMaskOnce installed, set your wallet up to work with Chiliz Chain:
Connect to Mainnet and TestnetMake 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 Tokens2. 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 Contract3. 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.
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 RaribleListing 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 OKXLast updated
Was this helpful?