Validator
Deploying a Validator Tutorialβ
In this tutorial, you will learn how to deploy a validator on the network and perform various tasks related to staking, registration, and validation.
Step 1: Registering a Validatorβ
To register a validator with a specific tag, use the following CLI command:
c vali register tag=whadup
or
c register vali::whadup
c.module('vali').register(tag='whadup')
This creates a key with "vali::whadup".
You can also serve it and register it with the following commands:
c serve vali::whadup
c register vali::whadup
Step 2: Staking Your Validatorβ
Ensure that you have staked your validator by following these steps:
Stake your validator with another key using the CLI command:
c stake {keywithbalance} vali::whadup {amount}
The default amount to be staked is your entire balance. If you don't have a balance, you'll need to unstake.
If needed, you can unstake by using the following command:
c unstake {keywithnobalance} {amount}