Chromia
Start Building

04 / 05Advanced

Open strategy

With the open strategy, anyone can create an account for free, with no token transfer involved. A user calls the register_account() operation and gets an account immediately, with no prerequisites.

It is the most straightforward way to handle registration: activating an account costs nothing and needs no transfer.

Code example for open strategy

To build your dapp on the template, start from the open strategy code examples and their tests. The test suite shows how to test an open strategy implementation.

Written for this site from Chromia’s public course. Code samples are the course’s own.