Wallet Management

Add New Wallet

layerd keys add $WALLET

Restore existing wallet

layerd keys add $WALLET --recover

List All Wallets

layerd keys list

Delete wallet

layerd keys delete $WALLET

Check Balance

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

Export Key (save to wallet.backup)

layerd keys export $WALLET

View EVM Prived Key

layerd keys unsafe-export-eth-key $WALLET

Import Key (restore from wallet.backup)

layerd keys import $WALLET wallet.backup

Tokens

Withdraw all rewards

layerd tx distribution withdraw-all-rewards --from $WALLET --chain-id layertest-3 --fees 5loya-y

Withdraw rewards and commission from your validator

layerd tx distribution withdraw-rewards $VALOPER_ADDRESS --from $WALLET --commission --chain-id layertest-3 --fees 5loya-y

Check your balance

layerd query bank balances $WALLET_ADDRESS

Delegate to Yourself

layerd tx staking delegate $(layerd keys show $WALLET --bech val -a) 1000000loya --from $WALLET --chain-id layertest-3 --fees 5loya-y

Delegate

layerd tx staking delegate <TO_VALOPER_ADDRESS> 1000000loya --from $WALLET --chain-id layertest-3 --fees 5loya-y

Redelegate Stake to Another Validator

layerd tx staking redelegate $VALOPER_ADDRESS <TO_VALOPER_ADDRESS> 1000000loya --from $WALLET --chain-id layertest-3 --fees 5loya-y

Unbond

layerd tx staking unbond $(layerd keys show $WALLET --bech val -a) 1000000loya --from $WALLET --chain-id layertest-3 --fees 5loya-y

Transfer Funds

layerd tx bank send $WALLET_ADDRESS <TO_WALLET_ADDRESS> 1000000loya --chain-id layertest-3 --fees 5loya-y

Last updated