Deploy KRC721 tokens
Last updated
Was this helpful?
Last updated
Was this helpful?
Prerequisite
Connect your MetaMask wallet to KardiaChain mainnet or testnet. Detail instruction can be found .
Have some KAI in your wallet to use as transaction fee
Deploying a new KRC721 token can be done by using and ERC721 contract from Open Zeppelin open source.
Open
Create new contract KRC721.sol
and copy code from the following sample
3. Deploy contract
After deployed, new items can be created:
And the owner and metadata of each item queried:
This tokenURI
should resolve to a JSON document that might look something like: