Skip to main content

Creating configuration

The basic kit initialization consists of creating a corresponding object by passing it a minimal set of necessary arguments. Pick a TON network to operate on, a wallet manifest, and feature configurations. Here is an example of a minimal configuration:

Storage configuration

By default, WalletKit uses persistent storage. To set a different behavior, use the storage parameter when creating a new configuration:

Creating WalletKit instance

Once you have a configuration, create an instance of the kit: