Wallet Management

Add New Wallet

mantrachaind keys add $WALLET

Restore existing wallet

mantrachaind keys add $WALLET --recover

List All Wallets

mantrachaind keys list

Delete wallet

mantrachaind keys delete $WALLET

Check Balance

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

Export Key (save to wallet.backup)

mantrachaind keys export $WALLET

View EVM Prived Key

mantrachaind keys unsafe-export-eth-key $WALLET

Import Key (restore from wallet.backup)

mantrachaind keys import $WALLET wallet.backup

Tokens

Withdraw all rewards

mantrachaind tx distribution withdraw-all-rewards --from $WALLET --chain-id mantra-1 --fees 3000uom -y

Withdraw rewards and commission from your validator

mantrachaind tx distribution withdraw-rewards $VALOPER_ADDRESS --from $WALLET --commission --chain-id mantra-1 --fees 3000uom -y

Check your balance

mantrachaind query bank balances $WALLET_ADDRESS

Delegate to Yourself

mantrachaind tx staking delegate $(mantrachaind keys show $WALLET --bech val -a) 1000000uom --from $WALLET --chain-id mantra-1 --fees 3000uom -y

Delegate

mantrachaind tx staking delegate <TO_VALOPER_ADDRESS> 1000000uom --from $WALLET --chain-id mantra-1 --fees 3000uom -y

Redelegate Stake to Another Validator

mantrachaind tx staking redelegate $VALOPER_ADDRESS <TO_VALOPER_ADDRESS> 1000000uom --from $WALLET --chain-id mantra-1 --fees 3000uom -y

Unbond

mantrachaind tx staking unbond $(mantrachaind keys show $WALLET --bech val -a) 1000000uom --from $WALLET --chain-id mantra-1 --fees 3000uom -y

Transfer Funds

mantrachaind tx bank send $WALLET_ADDRESS <TO_WALLET_ADDRESS> 1000000uom --chain-id mantra-1 --fees 3000uom -y

Last updated