Wallet Management

Add New Wallet

bcnad keys add $WALLET

Restore existing wallet

bcnad keys add $WALLET --recover

List All Wallets

bcnad keys list

Delete wallet

bcnad keys delete $WALLET

Check Balance

bcnad q bank balances $(bcnad keys show $WALLET -a)

Export Key (save to wallet.backup)

bcnad keys export $WALLET

View EVM Prived Key

bcnad keys unsafe-export-eth-key $WALLET

Import Key (restore from wallet.backup)

bcnad keys import $WALLET wallet.backup

Tokens

Withdraw all rewards

bcnad tx distribution withdraw-all-rewards --from $WALLET --chain-id bitcanna-dev-1 --gas-prices 0.001ubcna --gas-adjustment 1.5 --gas auto -y

Withdraw rewards and commission from your validator

bcnad tx distribution withdraw-rewards $VALOPER_ADDRESS --from $WALLET --commission --chain-id bitcanna-dev-1 --gas-prices 0.001ubcna --gas-adjustment 1.5 --gas auto -y

Check your balance

bcnad query bank balances $WALLET_ADDRESS

Delegate to Yourself

bcnad tx staking delegate $(bcnad keys show $WALLET --bech val -a) 1000000ubcna --from $WALLET --chain-id bitcanna-dev-1 --gas-prices 0.001ubcna --gas-adjustment 1.5 --gas auto -y

Delegate

bcnad tx staking delegate <TO_VALOPER_ADDRESS> 1000000ubcna --from $WALLET --chain-id bitcanna-dev-1 --gas-prices 0.001ubcna --gas-adjustment 1.5 --gas auto -y

Redelegate Stake to Another Validator

bcnad tx staking redelegate $VALOPER_ADDRESS <TO_VALOPER_ADDRESS> 1000000ubcna --from $WALLET --chain-id bitcanna-dev-1 --gas-prices 0.001ubcna --gas-adjustment 1.5 --gas auto -y

Unbond

bcnad tx staking unbond $(bcnad keys show $WALLET --bech val -a) 1000000ubcna --from $WALLET --chain-id bitcanna-dev-1 --gas-prices 0.001ubcna --gas-adjustment 1.5 --gas auto -y

Transfer Funds

bcnad tx bank send $WALLET_ADDRESS <TO_WALLET_ADDRESS> 1000000ubcna --chain-id bitcanna-dev-1 --gas-prices 0.001ubcna --gas-adjustment 1.5 --gas auto -y

Last updated