Wallet Management

Add New Wallet

selfchaind keys add $WALLET

Restore existing wallet

selfchaind keys add $WALLET --recover

List All Wallets

selfchaind keys list

Delete wallet

selfchaind keys delete $WALLET

Check Balance

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

Export Key (save to wallet.backup)

selfchaind keys export $WALLET

View EVM Prived Key

selfchaind keys unsafe-export-eth-key $WALLET

Import Key (restore from wallet.backup)

selfchaind keys import $WALLET wallet.backup

Tokens

Withdraw all rewards

selfchaind tx distribution withdraw-all-rewards --from $WALLET --chain-id selfchain-testnet --fees  -y

Withdraw rewards and commission from your validator

selfchaind tx distribution withdraw-rewards $VALOPER_ADDRESS --from $WALLET --commission --chain-id selfchain-testnet --fees  -y

Check your balance

selfchaind query bank balances $WALLET_ADDRESS

Delegate to Yourself

selfchaind tx staking delegate $(selfchaind keys show $WALLET --bech val -a) 1000000uslf --from $WALLET --chain-id selfchain-testnet --fees  -y

Delegate

selfchaind tx staking delegate <TO_VALOPER_ADDRESS> 1000000uslf --from $WALLET --chain-id selfchain-testnet --fees  -y

Redelegate Stake to Another Validator

selfchaind tx staking redelegate $VALOPER_ADDRESS <TO_VALOPER_ADDRESS> 1000000uslf --from $WALLET --chain-id selfchain-testnet --fees  -y

Unbond

selfchaind tx staking unbond $(selfchaind keys show $WALLET --bech val -a) 1000000uslf --from $WALLET --chain-id selfchain-testnet --fees  -y

Transfer Funds

selfchaind tx bank send $WALLET_ADDRESS <TO_WALLET_ADDRESS> 1000000uslf --chain-id selfchain-testnet --fees  -y

Last updated