Jumpstart: create NFTs and fungible tokens
NFTs
NFTs, or Non-Fungible Tokens, are a type of digital asset that represent in-game items on the blockchain. What makes NFTs unique is that each token is distinct and cannot be replaced with any other token.
Let's create a NFT Collection and a couple of NFT tokens.
A UFO will arrive and drop a screencast here
You can find a detailed guide on how to create an NFT here: How to create an NFT
Fungible tokens
Fungible tokens are digital assets that are interchangeable and can be exchanged on a one-to-one basis. These tokens are commonly used to represent game resources such as gold, crystals, or coins.
A UFO will arrive and drop a screencast here
You can find a detailed guide on how to create a fungible token here: How to create a fungible token
Transfer tokens
Let's test the tokens we just minted - see how it looks in the TRAIT Wallet for a regular player and how to transfer them.
A UFO will arrive and drop a screencast here
Metadata
Blockchain only facilitates transfers of NFTs and fungible tokens between players and apps. To provide info about these assets (such as an image or game stats) to another app you need to create appropriate metadata for each minted token.
In the screencasts above we annotated the tokens with demo metadata. This allows TRAIT Wallet to display these tokens correctly.
We used the metadata files and media assets from TRAIT Wallet demo account. You can find them on the GitHub.
Learn more about the concept of metadata and adding metadata to on-chain assets: Metadata
Quick References
Last updated