Manager Account And Validator Account
To run a validator node, you need two different accounts. Each of the accounts has a different role:
Your node uses an account(i.e., a private key) for signing new blocks. We call this account the
validator account
. You can only use a Keystore file for this account.You can manage all your funds (margin and pending rewards) with another account. We call this account the
manager account
. You can use either a hardware wallet or a gnosis-safe wallet.
With the above setup, your funds will be safe even if the server running your node is compromised and the hacker accesses the private key of your validator account.
How To Generate Your Validator Account
You can only use a Keystore file for your validator account. You generate a new Keystore file by running the following command:
In the previous section, we use --datadir
to specify the directory where all chain data are stored. The generated Keystore file for your validator account is also in this directory.
After running the command above, it will ask you to provide the password for your Keystore file:
If everything goes well, it will print the address of your validator account on the screen:
Note that it also prints the path of your Keystore file (i.e., the secret key file). Please backup this file!
Last updated