# Run a Validator
# Becoming a validator
Once you've properly set up a full node, if you wish you can become a validator node and start in earning by validating the chain transactions.
# Requirements
If you want to become a C4E validator you need to:
Be a full node and cosmovisor up If you are not, please follow the full node configuration guide and Cosmovisor setup
Node must be synchronized
Command above should return
- Own enough tokens.
To become a validator you need at least 2[c4e] token to create the validator, and for transaction fee
# 1. Add wallet key
Inside the testnet you can use the Ledger, but you can also use the wallet software with the c4ed
.
However, if you wish to use Ledger, please add the --ledger
flat to any command.
Please remember to copy the 12 words seed phrase in a secure place.
They are your mnemonic and if you loose them you lose all your tokens and the whole access to your validator.
Create the first wallet with the following command
The output of the command will provide the 24 words that are the mnemonic.
Create two wallet one for validator and second for vesting account: example
If you are using the Ledger device you must first connect it to your computer, start the commercionetworkd application and run the command
In this case the 12 words are not provided because they have already been configured in the Ledger initialization
If you dont have token faucet for testnet available on:
# What is a Validator?
Validators are responsible for committing new blocks to the blockchain through voting. A validator's stake is slashed if they become unavailable or sign blocks at the same height. Please read about Sentry Node Architecture to protect your node from DDOS attacks and to ensure high-availability.
Warning
If you want to become a validator for mainnet
, you should research security.
# Create Your Validator
Your c4evalconspub
consensus public key fron tendermint can be used to create a new validator by staking tokens. You can find your validator pubkey by running:
To create your validator, just use the following command:
When specifying commission parameters, the commission-max-change-rate
is used to measure % point change over the commission-rate
. E.g. 1% to 2% is a 100% rate increase, but only 1 percentage point.
Min-self-delegation
is a stritly positive integer that represents the minimum amount of self-delegated voting power your validator must always have. A min-self-delegation
of 1 means your validator will never have a self-delegation lower than 1000000uc4e
You can confirm that you are in the validator set by using a explorer.
# Troubleshooting
If you inspect your create-validator
transaction in the explorer, and see the following error:
Please try subsituting:
with
# Confirm Your Validator is Running
Your validator is active if the following command returns anything:
You should now see your validator in one of the block explorers. You are looking for the bech32
encoded address
in the ~/.c4e-chain/config/priv_validator_key.json
file.
To be in the validator set, you need to have more total voting power than the 50th validator.