Skip to content

Crust Account

yyd106 edited this page Nov 25, 2020 · 5 revisions

As the center of all transactions, Crust account represents your on-chain identity. Additionally, a node needs a corresponding account, to which it bonds itself to obtain block rewards. Crust account, featuring a standard dual account (Controller/Stash) model, needs to go through a set of account bonding procedures. This section will illustrate how to create accounts and bond account relationships through actions in Crust APPs.

1 Create a stash account

Click "Accounts" in the navigation bar at the top of the window, and click "Add account", as shown below.

Enter your account name and password, and click "Save", and the account will be backed up on your device by default.

We will use the first created account as a Stash account. Stash account is a user's asset account, which is often used to manage the user's assets. It should be noted that a certain number of CRUs are required of the Stash account for subsequent actions such as transactions and asset staking.

2 Create a Controller account

Repeat the above steps to create another account.

This time we name the newly created account as CONTROLLER, a reminder that this account will be used as a controller to control assets. Also, a certain number of CRUs are required of the account to pay subsequent transaction fees.

3 Bond Controller to Stash

Click "Staking" from the "Network" column in the navigation bar, and select "Account actions".     Click "Stash" in the upper right corner, select Stash and Controller account in the pop-up window, enter the number of CRUs to be staked ("number" here is the number of CRUs allowed to be controlled by the Controller account), and then click "Stake".

  Since staking needs to be performed on the chain, it is required to unlock the Stash account and pay a certain amount of fees.

  When staking is successfully implemented, you can find that a staking relationship has now been added to the "Account actions" window.

  To this far, your account configuration has been well completed.