Asset Management
You should replace <serviceName>
with the name of the service that you created to run your node. For instance, wardend
, hedged
, or 0gchain
are the names of example services that are commonly used to operate nodes of corresponding projects.
Use your own <walletName>
e.g. wardend keys add NGSolutions
.
-
Withdraw all rewards
<serviceName> tx distribution withdraw-all-rewards --from $WALLET --chain-id <chain-id> --gas auto --gas-adjustment 1.5 --fees 600<uToken>
-
Withdraw rewards and commission from your validator
<serviceName> tx distribution withdraw-rewards $VALOPER_ADDRESS --from $WALLET --commission --chain-id <chain-id> --gas auto --gas-adjustment 1.5 --fees 600<uToken> -y
-
Check your balance
<serviceName> query bank balances $WALLET_ADDRESS
-
Delegate to Yourself
<serviceName> tx staking delegate $(<serviceName> keys show $WALLET --bech val -a) 1000000<uToken> --from $WALLET --chain-id <chain-id> --gas auto --gas-adjustment 1.5 --fees 600<uToken> -y
-
Delegate to Valoper Address
<serviceName> tx staking delegate $TO_VALOPER_ADDRESS 1000000<uToken> --from $WALLET --chain-id <chain-id> --gas auto --gas-adjustment 1.5 --fees 600<uToken> -y
-
Redelegate Stake to Another Validator
<serviceName> tx staking redelegate $VALOPER_ADDRESS $TO_VALOPER_ADDRESS 1000000<uToken> --from $WALLET --chain-id <chain-id> --gas auto --gas-adjustment 1.5 --fees 600<uToken> -y
-
Unbond -> There will be an unbounding duration. It is usually set to 21 days. Please be careful!
<serviceName> tx staking unbond $(<serviceName> keys show $WALLET --bech val -a) 1000000<uToken> --from $WALLET --chain-id <chain-id> --gas auto --gas-adjustment 1.5 --fees 600<uToken> -y
-
Transfer Funds
<serviceName> tx bank send $WALLET_ADDRESS $TO_WALLET_ADDRESS 1000000<uToken> --gas auto --gas-adjustment 1.5 --fees 600<uToken> -y