Wallet

echo "export WALLET="wallet_celstia"" >> $HOME/.bash_profile

# To create a new wallet, use the following command. don’t forget to save the mnemonic
celestia-appd keys add $WALLET

# To restore exexuting wallet, use the following command
celestia-appd keys add $WALLET --recover

# save wallet and validator address
WALLET_ADDRESS=$(celestia-appd keys show $WALLET -a)
VALOPER_ADDRESS=$(celestia-appd 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, once your node is fully synced, the output from above will print "false"
celestia-appd status 2>&1 | jq 

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

Last updated