Token Chain
Overview
The Token Chain is a dedicated Chromia-based blockchain designed to streamline token management, account creation, and cross-chain asset bridging.
Key benefits
-
Simplified bridging setup: the Token Chain automates setup on the Chromia side, streamlining the process. Future updates aim to automate the EVM side as well for greater efficiency.
-
Enhanced trust and security: listing tokens on the Token Chain increases their credibility and provides a secure environment.
-
A secure hub for tokens: the Token Chain serves as a trusted system chain. Tokens can be moved back to the Token Chain for security during updates or changes on a dapp chain.
-
Streamlined onboarding: users of multiple projects on the Token Chain already have an account for bridging, simplifying access to new projects.
-
Greater flexibility: tokens are independent of any single dapp chain. If dissatisfaction arises with a dapp's development, tokens can be transferred to a new forked version that aligns better with user preferences.
Architecture
Account creation strategy
Each project maintains a pool of CHR on the Token Chain specifically for creating new accounts. You can choose:
- Open pool: anyone can request an account by paying a nominal fee.
- Minimum amount strategy: require a minimum CHR deposit per new account to prevent spam.
Account creation on behalf of projects is authorized via ICCF and requires a list of blockchain RIDs for the chains allowed to create accounts. Fees for account creation are sent to a Chromia Foundation–managed account, and foundation members can redistribute these funds back to the economy chain or allocate them to the project's resource pool.
Token minting policies
The built-in minting capability in FT4 allows you to use its before and after hooks to enforce minting policies. Token proposals include:
- Maximum supply (optional)
- Authorized minters
- Minting interval and amount
- Accumulative vs. fixed-rate modes
- Option to specify rate and maximum supply per minter
Example RELL struct:
struct minting_policy {
minters: set<byte_array>;
max_supply: big_integer;
minting_interval_ms: integer;
minting_amount: big_integer;
accumulating_amount: boolean;
}
Repository
The Token Chain is open source and available on GitLab:
Repository: https://gitlab.com/chromaway/core/directory-chain/-/tree/dev/src/token_chain
This repository contains the complete Token Chain implementation, including:
- Token proposal and management functionality
- Account creation strategies and policies
- Bridge configuration and deployment
- Minting policies and controls
- ICCF operations for cross-chain communication
- Integration with the Directory Chain ecosystem