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 Blockchain 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 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.

Learn more about how to create NFTs

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:

  1. 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, and one Ethereum token is always equal in value to another Ethereum token.

  2. 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), and Ethereum can be divided into smaller units called Wei. This divisibility enables fungible tokens to be used for microtransactions and facilitates greater flexibility in transactions.

  3. Use Cases: Fungible tokens have a wide range of use cases beyond just currency. They can represent various assets such as utility tokens for accessing services or products within a blockchain ecosystem, security tokens representing ownership in real-world assets like real estate or stocks, and stablecoins pegged to the value of a fiat currency like the US dollar.

Learn more about how to create Fungible tokens

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.

Learn more about AppAgents

Transactional & Named 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

Learn more here.

In TRAIT Blockchain, in addition to regular addresses, we have the concept of keyless address. 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.

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 apps. Admins can be added and deleted by the owner of an AppAgent. While every AppAgent has a basic permission level, the level of access of each admin can be individually configured.

Learn more about AppAgent Admins

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.

Read a detailed breakdown on Clearing Transactions

Subscriptions, actions points, and transaction points

Usually blockchains charge an inconvenient per-transaction fee. We introduced subscriptions that provide a number of on-chain actions. Teams choose a plan based on the number of required actions. Similar to traditional subscription models, blockchain-based subscription systems offer different tiers of service with varying features and prices.

Learn more about Subscriptions

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.

Learn more about Transfer channels

Quick References:

Last updated