Create Validator Post Genesis
- Run Full Node
- Create Account and Get test tokens
- Create Validator
1. Run Full Node
- Check the Running a Full Node section to run a full node
2. Create Account & Get test tokens
ethermintd keys add <key-name> --keyring-backend test
NOTE: Save mnemonic
and related account details (address and public key). You will need to use the need mnemonic/private key to recover accounts at a later point in time.
Get Test tokens from faucet
- Open this link : http://146.71.79.179:1314/ and paste your account address
- 1 gnt = 10^18 agnt
- Each Transaction you will get 500gnt
- Total Tokens 5000gnt for account
Check wallet balance
Check the balance in your wallet
ethermintd query bank balances <address>
Replace address
with your wallet address.
Balances will not reflect funds requested from the faucet right away but will after your node syncs with the chain.
3.Create Validator
Check full node sync status
ethermintd status 2>&1 | jq -r ".SyncInfo"
catching_up: false
means node is completely synced
Create validator
Before creating a validator, make sure your node is completely synced and has a balance of at least 4500000000000000000000agnt
. Your will stake this amount when you create the validator.
Replace key_name
with your key name and moniker
with your monikor and run this command:
ethermintd tx staking create-validator \
--amount=4500000000000000000000agnt \
--pubkey=$(ethermintd tendermint show-validator) \
--moniker="my-moniker" \
--website="https://myweb.site" \
--details="description of your validator" \
--chain-id="ethermint_81337-1" \
--commission-rate="0.10" \
--commission-max-rate="0.20" \
--commission-max-change-rate="0.01" \
--min-self-delegation="1" \
--gas="auto" \
--gas-adjustment="1.2" \
--gas-prices="0.025agnt" \
--from=<key_name> \
--keyring-backend test
After running the command, check on your node’s VotingPower
ethermintd status | jq
VotingPower
should be 4500000000000000000000
if the validator was created successfully.
You can also see a list of all validators with this command:
ethermintd q staking validators -o json | jq .validators[].description.moniker