Skip to main content

Mantra Useful Commands

Chain ID: mantra-1 | Node Version: v6.1.4

note

First You Need Set Variabels

MONIKER=<YOUR_MONIKER_NAME>
echo "export MONIKER=$MONIKER" >> $HOME/.bash_profile
echo "export MANTRA_CHAIN_ID="mantra-1"" >> $HOME/.bash_profile
source $HOME/.bash_profile

Wallet

Create Wallet

mantrachaind keys add wallet

Recovery Wallet

mantrachaind keys add wallet --recover

List All Wallet

mantrachaind keys list

Delete Wallet

mantrachaind keys delete wallet

Check Wallet Balance

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