TESTNET
Set Validator

Set Validator

create a new wallet

initiad keys add $WALLET

restore exexuting wallet

initiad keys add $WALLET --recover

save wallet and validator address

WALLET_ADDRESS=$(initiad keys show $WALLET -a)
VALOPER_ADDRESS=$(initiad 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

check sync status, once your node is fully synced, the output from above will print "false"

initiad status 2>&1 | jq 

before creating a validator

before creating a validator, you need to fund your wallet and check balance

initiad query bank balances $WALLET_ADDRESS 

Readyyy for create??? Lets gooooo

cd $HOME
 
#Create validator
 
initiad tx mstaking create-validator \
--amount 1000000uinit \
--from $WALLET \
--commission-rate 0.1 \
--commission-max-rate 0.2 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--pubkey $(initiad tendermint show-validator) \
--moniker "YOUR-MONIKER" \
--identity "" \
--website "" \
--details "Service by zulna" \
--chain-id initiation-1 \
--gas auto --fees 80000uinit \
-y