Jumpstart: setup root addresses

Intro

An AppAgent is the representation of an off-chain app on the blockchain. Owner and admins of AppAgent - are regular blockchain addresses with elevated privileges, that control and act on behalf of AppAgent.

Private keys of owner and admins can be used manually to sign transactions to manage an AppAgent. Also private keys of Admins can be given to an off-chain script / app to automatically perform routine tasks.

The private keys of the owner/admins are of paramount importance. Compromising of these private keys can lead to damage and losses of on-chain assets. This page describes the optimal way for initial setup of these addresses for a new AppAgent.

Create owner and admin addresses

TRAIT Vault is an air-gapped non-custodial mobile wallet used to store and manage your keys on your mobile device. This wallet, in conjunction with another tool PolkadotJS, allows to manually create blockchain transactions on behalf of AppAgent, such as creating and minting tokens.

With the TRAIT Vault you need to create two accounts: one for the owner of AppAgent and another for admin of AppAgent.

Transfer TRAIT tokens to the new accounts

Both the owner and admin of on-chain assets must possess TRAIT tokens to make blockchain transactions.

Transfer at least 51'000 TRAIT to the owner account. 50'000 TRAIT tokens will be reserved upon creation of a new AppAgent to cover fees for the first months. The rest 1'000 can be used by the owner to perform management tasks

And transfer about 4000 TRAIT to admin account to cover possible transaction fees.

Quick References

Last updated

Was this helpful?