FT4 (Flexible Token 4)
Chromia FT4 (Flexible Token 4) is an advanced token standard designed for the Chromia blockchain, offering enhanced asset and account management capabilities. Similar to the ERC20 standard in Ethereum, FT4 facilitates token creation, transfer, and ownership tracking. However, FT4 goes beyond basic token management by providing additional features like flexible account access controls, multi-signature support, and configurable rules for managing assets and accounts. This makes it ideal for more complex decentralized applications (dApps) requiring nuanced account management, robust security, and fine-grained control over assets.
It has its own client library, created for ease of use on the frontend.
Client
The client is written in TypeScript. It is made for easier access to the backend operations and queries and ready to be used on the frontend (or a js backend).
The library is available on npm.
Backend
The backend part of FT4 is written in rell and holds the implementation of the above-mentioned features:
As most dapps in the chromia environment, the ft4 library is configured through the chromia.yml
file which belongs to
the dapp importing it.
While FT4 assets share many similarities with ERC20 tokens, there are key differences, especially around how asset management and account control are handled. These differences offer greater flexibility for more complex use cases. More detailed comparisons and technical distinctions between FT4 and ERC20 can be found in the FT4 Glossary.