Intro to NFTs & Fungibles with TRAIT
Intro
With TRAIT, game developers can seamlessly incorporate blockchain functionality into their games, allowing players to own, trade, and interact with in-game assets as digital tokens on the blockchain. This page provides a quick overview of how the converting of in-game items to blockchain tokens looks like.
What are NFTs and Fungible tokens
NFT means "non-fungible token". I.e. these are the tokens that can not be easily changed at 1-to-1 basis. Examples from games: swords, shields, magic wands.
Fungible tokens are tokens that can be easily changed. Usually in-game resources fall into this category: gold coins, wood, crystals etc.
Blockchain tokens allow to set owner to every token and transfer ownership from one blockchain address to another.
Tokenization of in-game items
Let's imagine we have an RPG game. A Player have spent some time in the game and earned a sword. Now he wants to receive a blockchain token that will represent this sword. Later this tokens can be used for anything - to gift to a friend, to barter with someone, to send to an exchange etc.
The conversion of tokens will be like this:
The Player installs the TRAIT Wallet - the free mobile app to manage on-chain tokens. With this app the user creates a new blockchain account;
The Player opens the game, goes to Inventory, selects the sword and presses the button "Withdraw item". The Player pastes his blockchain address and submits the form;
Game client communicates with the game server, which creates a blockchain transaction to mint NFT to the Player' blockchain address;
When the transaction gets processed by the blockchain - game removes the sword from the Player' Inventory. Player is not able to use this item in the game anymore;
Player opens the TRAIT Wallet and sees a new NFT token on his blockchain account. Starting from this moment the Player owns a blockchain token that represents in-game sword. Player can freely transfer this item to any other blockchain address - to a friend, to an exchange etc.
TODO diagram
The reverse conversion is done very similarly:
The Player owns a blockchain token that represents in-game sword and wants to add it to his game account.
The Player opens the game, goes to Inventory, presses the button "Deposit item". Player receives from the game a blockchain address to send the token to;
The Player opens the TRAIT Wallet, selects the token, presses the button Send, pastes the blockchain address into the field Recipient, submits a blockchain transaction. This transaction is free for Player;
Token gets transferred to the game. Game adds a sword to the Player in-game account. The Player can equip the sword and use it in the game;
TODO diagram
Key takeaways
TRAIT is the additional feature for the players. It allows to convert in-game items to blockchain tokens and make them transferrable;
TRAIT doesn't require to change existing game mechanics, doesn't impose any limitations on game process. You can integrate TRAIT into any existing game;
TRAIT is free for players;
TRAIT changes the nature of in-game items, makes them valuable and tangible;
TRAIT allows so many new use-cases and mechanics to the games and players;
Quick References
Last updated