Validator Setup
Create/restore a key pair​
Create Wallet
emped keys add <your-wallet-name>
Restore Wallet
emped keys add <your-wallet-name> --recover
Create Your Validator
Your empevalconspub
consensus public key from tendermint can be used to create a new validator by staking tokens. You can find your validator pubkey by running:
emped tendermint show-validator
To create your validator use the following command:
emped tx staking create-validator \
--amount=1000000uempe \
--pubkey=$(emped tendermint show-validator) \
--moniker="<YOUR_MONIKER>" \
--identity="<KEYBASE_ID(optional)>" \
--website="<YOUR_WEBSITE(optional)>" \
--security-contact="<EMAIL(optional)>" \
--details="<VALIDATOR_DESCRIPTION>" \
--chain-id=empe-testnet-2 \
--commission-rate="0.10" \
--commission-max-rate="0.20" \
--commission-max-change-rate="0.01" \
--min-self-delegation="1000000" \
--from=<your-wallet-name> \
--fees=25uempe \
--gas=auto \
--gas-adjustment=1.3
If you don't have any testnet tokens yet, you can request some from the Empeiria Faucet. For a step-by-step guide on how to claim testnet tokens, check out the official documentation here.
Confirm Your Validator is Running
Your validator is active if the following command returns anything:
emped query tendermint-validator-set | grep "$(emped tendermint show-validator | jq .key | tr -d \")"
You should now see your validator in one of the block explorers. You are looking for the bech32
encoded address
in the ~/.emped-chain/config/priv_validator_key.json
file.
Last updated