Skip to main content

Validator Guide

danger

Before setting up a validator node, make sure to have completed the Run a Full Node guide.

Step1: Create Your Validator Operator Account​

artelad keys add <account_name>

Step2: Get TestNet Token​

You could get ART TestNet Native Token from Discord. You could get your account address like this:

artelad keys show <account_name>

Step3: Create Your Validator​

artelad tx staking create-validator \
--amount="1000000art" \
--pubkey=$(artelad tendermint show-validator) \
--moniker="choose a moniker" \
--commission-rate="0.10" \
--commission-max-rate="0.20" \
--commission-max-change-rate="0.01" \
--min-self-delegation="1" \
--gas="200000" \
--chain-id=<chain_id> \
--from=<key_name>
  • amount: how much ART you want to self delegate.
  • moniker: your validator name, maybe your team name.
  • commission-rate: commission your validator get from delegator.
  • from: your validator operator account name.

Step4: Confirm Your Validator is Running​

Your validator is active if the following command returns anything:

artelad query tendermint-validator-set | grep "$(artelad tendermint show-address)"


Appendix​

1.Query all validators​

artelad query staking validators

2.Query validator through operator address​

artelad query staking validator <operator_address>

3.Convert bech32(cosmos format) address to hex(evm format) address​

artelad debug addr <betch32 address>

4.Convert hex(evm format) address to bech32(cosmos format) address​

artelad debug addr <hex address>

5.Query all local accounts​

artelad keys list

6.Query account through address​

artelad query account <account_name>

7.Query tx trough tx_hash​

artelad query tx <tx_hash>

8.Unjail validator​

artelad tx slashing unjail \
--gas="300000" \
--chain-id=<chain_id> \
--from=<account_name>