Useful commands
List of useful command for ZeroGravity (0G) credit to Kenz|DragonVN
SET $WALLET_NAME
export WALLET_NAME=walletADD NEW KEY
0gchaind keys add $WALLET_NAME --eth0gchaind keys add $WALLET_NAME --eth --recover0gchaind keys list0gchaind keys delete <key_name>echo "0x$(0gchaind debug addr $(0gchaind keys show $WALLET_NAME -a) | grep hex | awk '{print $3}')"0gchaind keys unsafe-export-eth-key $WALLET_NAME0gchaind q bank balances $(0gchaind keys show $WALLET_NAME -a)0gchaind tx staking create-validator \
--amount 1000000ua0gi \
--pubkey $(0gchaind tendermint show-validator) \
--moniker "YOUR_MONIKER_NAME" \
--identity "YOUR_KEYBASE_ID" \
--details "YOUR_DETAILS" \
--website "YOUR_WEBSITE_URL" \
--chain-id zgtendermint_16600-2 \
--commission-rate 0.05 \
--commission-max-rate 0.20 \
--commission-max-change-rate 0.05 \
--min-self-delegation 1 \
--from $WALLET_NAME \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.0025ua0gi \
-yLast updated