Skip to main content

Cardchain Useful Commands

Chain ID: cardtestnet-12 | Node Version: v0.16.0

note

First You Need Set Variabels

MONIKER=<YOUR_MONIKER_NAME>
echo "export MONIKER=$MONIKER" >> $HOME/.bash_profile
echo "export CARD_CHAIN_ID="cardtestnet-12"" >> $HOME/.bash_profile
source $HOME/.bash_profile

Wallet

Create Wallet

Cardchaind keys add wallet

Recovery Wallet

Cardchaind keys add wallet --recover

List All Wallet

Cardchaind keys list

Delete Wallet

Cardchaind keys delete wallet

Check Wallet Balance

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