Skip to main content

CosmosHub Useful Commands

Chain ID: cosmoshub-4 | Node Version: v25.1.0

note

First You Need Set Variabels

MONIKER=<YOUR_MONIKER_NAME>
echo "export MONIKER=$MONIKER" >> $HOME/.bash_profile
echo "export COSMOSHUB_CHAIN_ID="cosmoshub-4"" >> $HOME/.bash_profile
source $HOME/.bash_profile

Wallet

Create Wallet

gaiad keys add wallet

Recovery Wallet

gaiad keys add wallet --recover

List All Wallet

gaiad keys list

Delete Wallet

gaiad keys delete wallet

Check Wallet Balance

gaiad q bank balances $(gaiad keys show wallet -a)