Create Wallet

# to create a new wallet, use the following command. don’t forget to save the mnemonic
0gchaind keys add $WALLET --eth

# to restore exexuting wallet, use the following command
0gchaind keys add $WALLET --recover

# save wallet and validator address
WALLET_ADDRESS=$(0gchaind keys show $WALLET -a)
VALOPER_ADDRESS=$(0gchaind 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

# before creating a validator, you need to fund your wallet and check balance
0gchaind query bank balances $WALLET_ADDRESS

#Get EVM address to request faucet
echo "0x$(0gchaind debug addr $(0gchaind keys show wallet -a) | grep hex | awk '{print $3}')"