TESTNET
Set Validator

Set Validator

create a new wallet

emped keys add $WALLET

restore exexuting wallet

emped keys add $WALLET --recover

save wallet and validator address

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

emped status 2>&1 | jq 

before creating a validator

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

emped query bank balances $WALLET_ADDRESS 

Readyyy for create??? Lets gooooo

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