Validator Management
Create Validator
Below is my example of creating a validator, please change all that information to yours
0gchaind tx staking create-validator \
--amount=1000000ua0gi \
--pubkey=$(0gchaind tendermint show-validator) \
--moniker=Apollo_sync \
--chain-id=zgtendermint_16600-1\
--commission-rate=0.10 \
--commission-max-rate=0.20 \
--commission-max-change-rate=0.05 \
--min-self-delegation="1" \
--gas-prices=0.25ua0gi \
--gas-adjustment=1.5 \
--gas=auto \
--from=wallet \
--details="light of true" \
--security-contact="[email protected]" \
--website="https://apollo-sync.com" \
--identity="69D2CB349290C678" \
--yes
Edit validator
0gchaind tx staking edit-validator \
--new-moniker="MONIKER" \
--identity="YOUR_KEYBASE_ID" \
--details="YOUR_DETAILS" \
--website="YOUR_WEBSITE_URL" \
--chain-id self-dev-1 \
--commission-rate=0.05 \
--gas-prices=0.25ua0gi \
--gas="auto" \
--gas-adjustment="1.5" \
--from wallet \
-y
Unjail your validator
0gchaind tx slashing unjail --from $WALLET_NAME --gas=500000 --gas-prices=99999ua0gi -y
Delegate tokens to your validator
0gchaind tx staking delegate 0gvaloper1cxcxn99u8wc2warxzn79dhqly3x9w763hx0mkc --from wallet 1000000ua0gi --fees 5000ua0gi --gas-adjustment=1.4 -y
Query your validator
0gchaind q staking validator $(0gchaind keys show $WALLET_NAME --bech val -a)
Last updated