Docs
chromia.com

Accounts

FT4 accounts can be registered with transfer open, transfer fee, or transfer subscription strategies, each offering flexible access options. auth descriptors control account access, while account_link manages relationships between accounts for scenarios like staking and asset locking.

FT4 account registration flowClient (your app)Your chain (Rell + FT4)Key or walletFT key · EVM wallet1Pay (transfer strategies)transfer to address2RegisterregisterAccount()3Log indisposable keylogin()5Pending depositheld until claimedregister_accountstrategy checks rules4Accountmain descriptor ["A","T"]session
Registering an FT4 account. With the open strategy, skip step 2. With a transfer strategy (open, fee or subscription), the user first sends tokens to their future account address, and register_account claims them.
Register FT4 accountsRegister FT4 accounts using strategies like transfer open, transfer fee, or transfer subscription. Admin operations allow authorized users to create accounts directly, while custom operations enable tailored registration with enhanced security measures. Transfer open strategyThe transfer open strategy requires users to transfer tokens to a non-existent account, which they must then claim to activate it. This provides a middle ground between completely free account creation and paid strategies, requiring token transfer but no fees. Transfer fee strategyThe transfer fee strategy requires users to transfer a specific amount of tokens to a non-existent account, with part of the transferred assets collected as a fee. This approach provides a clear and easy-to-follow process for users who prefer straightforward access. Transfer subscription strategyThe transfer subscription strategy requires users to pay regularly to access dapp functionality, helping generate a steady income to sustain and grow the dapp. Users must periodically renew their subscription by paying the subscription fee. Use auth descriptors for accountsAccounts can have multiple auth descriptors, with one main descriptor controlling access. Descriptors can be replaced and linked to the account with specific rules, while the main descriptor cannot be deleted.Link FT4 accountsThe account_link entity manages relationships between accounts, supporting scenarios such as staking, asset locking, and auctions. It enables flexible workflows with secure asset handling for both user-controlled and system-managed accounts.