Skip to main content

Accounts

This section contains code examples that demonstrate the recommended approaches for handling accounts within the Chromia ecosystem.

📄️ Create an account with the transfer subscription strategy

When implementing the transfer subscription strategy, users can establish new accounts by paying a specific subscription fee. The recurring fee is divided into two parts from a technical perspective: the duration for which the subscription remains active until it expires and the subscription amount. These values can be adjusted using the subscriptionperioddays and amount properties in the chromia.yml configuration file. For more details, please refer to the relevant section in the Dapp Monetization course.