Wallet Management

Add New Wallet

dhealthd keys add $WALLET

Restore existing wallet

dhealthd keys add $WALLET --recover

List All Wallets

dhealthd keys list

Delete wallet

dhealthd keys delete $WALLET

Check Balance

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

Export Key (save to wallet.backup)

dhealthd keys export $WALLET

View EVM Prived Key

dhealthd keys unsafe-export-eth-key $WALLET

Import Key (restore from wallet.backup)

dhealthd keys import $WALLET wallet.backup

Tokens

Withdraw all rewards

dhealthd tx distribution withdraw-all-rewards --from $WALLET --chain-id dhealth --gas-adjustment 1.5 --gas auto --gas-prices 1udhp -y

Withdraw rewards and commission from your validator

dhealthd tx distribution withdraw-rewards $VALOPER_ADDRESS --from $WALLET --commission --chain-id dhealth --gas-adjustment 1.5 --gas auto --gas-prices 1udhp -y

Check your balance

dhealthd query bank balances $WALLET_ADDRESS

Delegate to Yourself

dhealthd tx staking delegate $(dhealthd keys show $WALLET --bech val -a) 1000000udhp --from $WALLET --chain-id dhealth --gas-adjustment 1.5 --gas auto --gas-prices 1udhp -y

Delegate

dhealthd tx staking delegate <TO_VALOPER_ADDRESS> 1000000udhp --from $WALLET --chain-id dhealth --gas-adjustment 1.5 --gas auto --gas-prices 1udhp -y

Redelegate Stake to Another Validator

dhealthd tx staking redelegate $VALOPER_ADDRESS <TO_VALOPER_ADDRESS> 1000000udhp --from $WALLET --chain-id dhealth --gas-adjustment 1.5 --gas auto --gas-prices 1udhp -y

Unbond

dhealthd tx staking unbond $(dhealthd keys show $WALLET --bech val -a) 1000000udhp --from $WALLET --chain-id dhealth --gas-adjustment 1.5 --gas auto --gas-prices 1udhp -y

Transfer Funds

dhealthd tx bank send $WALLET_ADDRESS <TO_WALLET_ADDRESS> 1000000udhp --chain-id dhealth --gas-adjustment 1.5 --gas auto --gas-prices 1udhp -y

Last updated