Creating Validator

Create Wallet

this command generate new wallet remember to save the mnemoic

heliades keys add $WALLET

Add Exsisting Wallet

heliades keys add $WALLET --recover

Save wallet and validator address

WALLET_ADDRESS=$(heliades keys show $WALLET -a)
VALOPER_ADDRESS=$(heliades keys show $WALLET --bech val -a)
echo "export WALLET_ADDRESS="$WALLET_ADDRESS >> $HOME/.bash_profile
echo "export VALOPER_ADDRESS="$VALOPER_ADDRESS >> $HOME/.bash_profile
source $HOME/.bash_profile

check sync status with this bellow command. if your node is fully synced, the output is catching up =false

heliades status 2>&1 | jq 

before creating your validator your wallet must have fund you can check your wallet balance with this command

heliades query bank balances $WALLET_ADDRESS 

Create Validator

heliades tx staking create-validator \
--amount=1000000ahelios \
--pubkey=$(heliades tendermint show-validator) \
--moniker="fill_with_your_nodename" \
--identity="" \
--details="your slogan" \
--website="" \
--security-contact="fill your mail here" \
--chain-id=empe-testnet-2 \
--commission-rate=0.05 \
--commission-max-rate=0.10 \
--commission-max-change-rate=0.01 \
--min-self-delegation=1 \
--gas-prices 0.0001ahelios \
--gas "auto" \
--gas-adjustment "1.5" \
--from $WALLET \
-y

Last updated