Intro to TRAIT
Intro
TRAIT is designed to revolutionise the gaming industry by enabling the conversion of in-game assets into digital transferrable assets. At its core, TRAIT incorporates a robust blockchain infrastructure that provides a secure and transparent platform for the creation, management, and transfer of these assets.
Complementing the blockchain, TRAIT encompasses a comprehensive set of backend services that facilitate seamless integration with gaming platforms, ensuring smooth asset tokenisation and interoperability across multiple games. This allows developers who are not familiar with blockchain to get started developing for TRAIT quickly.
Core concepts
NFTs
NFTs, or Non-Fungible Tokens, are a type of digital asset that represent ownership of a game item, such as a sword, shield, or magic wand. NFT can be sent between players and games to transfer ownership of a in-game item.
Transactions involving NFTs, such as purchases or transfers of ownership are recorded on the blockchain, providing a transparent and immutable record of ownership history. This ensures that the ownership of the NFT can be easily verified and authenticated.
Fungible tokens
Fungible tokens are digital assets that are interchangeable with each other 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.
In a blockchain context, fungible tokens operate similarly to NFTs in terms of their creation, transactions, and storage on the blockchain. However, there are some key differences:
Interchangeability: Fungible tokens are interchangeable with each other, meaning that one token can be exchanged for another token of the same type without any difference in value. For example, one Bitcoin is always equal in value to another Bitcoin. Some is true for most of in-game resources - one in-game gold coin is equal in value to another in-game gold coin.
Divisibility: Fungible tokens are often divisible into smaller units, allowing for transactions of fractions of a token. For example, Bitcoin can be divided into smaller units such as a Satoshi (0.00000001 BTC). This divisibility enables fungible tokens to be used for microtransactions and facilitates greater flexibility in transactions.
Metadata
TRAIT blockchain stores only the essential info about tokens - owners of tokens, minimal configuration related to the blockchain consensus system. Metadata of on-chain entities, such as tokens, provides all the rest - name, description, stats of game items, links to media content and any other information required by the off-chain apps to process on-chain entities.
TRAIT establishes an agreement how the metadata is generated, stored, linked to on-chain entities and transferred between the off-chain apps.
Free Transfers
TRAIT blockchain allows regular users - players - to make free transfers of asset. When compared with other blockchains, regular users of the TRAIT blockchain do not need to pay a BTC / ETH / etc commission per transaction, also known as gas tokens. This removes one of the main barriers to the use of the blockchain by regular people.
AppAgent
AppAgents are entities within the blockchain system capable of handling various tasks such as managing addresses, handling transactions, maintaining subscriptions, and storing important configurations. They can be seen as an entity that represents a game or organisation on the blockchain.
Keyless addresses
A traditional blockchain address works on the basis of public key cryptography such that an address is a public key and has a corresponding private key that can sign transactions. The core idea of blockchain accounts is that any assets sent to your address (public key) can be unlocked and spent by your private key.
In TRAIT Blockchain, in addition to regular addresses, we have the concept of keyless addresses. These are addresses generated with the special algorithm and have no corresponding private keys. Each keyless address is permanently bounded to an AppAgent such that only the controlling AppAgent can use the assets held by keyless addresses. Keyless addresses is an indispensable feature in the TRAIT system.
AppAgent Admins
Admin accounts are special user accounts within an AppAgent that possess elevated privileges and responsibilities. These are regular addresses (not keyless addresses) used by engineers or off-chain apps. Admins are allowed to perform on-chain actions in the name od AppAgent or its keyless addresses.
Clearing transactions
Clearing transactions are a fundamental aspect of the TRAIT Blockchain designed to execute a sequence of actions atomically within a transaction. They are structured into distinct "Atomics," each containing multiple "Actions."
The atomic nature ensures that if any action within an atomic fails, the entire atomic operation is rolled back to maintain data integrity.
Subscriptions, actions points, and transaction points
Usually blockchains charge a per-transaction fee. In contrast the TRAIT provides subscriptions to AppAgents with the number of included on-chain actions. Teams choose a plan based on the number of required actions.
Transfer channels
Transfer channels are a mechanism in TRAIT that facilitates controlled transfer of assets between regular accounts and AppAgent accounts without paying native token fees. This means you can establish a transfer channel with a regular account (non-keyless) and they can transact on the blockchain for free without paying fees or holding native tokens, subject to conditions set in the transfer channel.
Last updated