Management
ADD NEW KEY
uniond keys add wallet
RECOVER EXISTING KEY
uniond keys add wallet --recover
LIST ALL KEYS
uniond keys list
DELETE KEY
uniond keys delete wallet
EXPORT KEY TO A FILE
uniond keys export wallet
IMPORT KEY FROM A FILE
uniond keys import wallet wallet.backup
QUERY WALLET BALANCE
uniond q bank balances $(uniond keys show wallet -a)
Please make sure you have adjusted moniker, identity, details and website to match your values.
CREATE NEW VALIDATOR
uniond tx staking create-validator \
--amount 1000000muno \
--pubkey $(uniond tendermint show-validator) \
--moniker "YOUR_MONIKER_NAME" \
--identity "YOUR_KEYBASE_ID" \
--details "YOUR_DETAILS" \
--website "YOUR_WEBSITE_URL" \
--chain-id union-testnet-8 \
--commission-rate 0.05 \
--commission-max-rate 0.20 \
--commission-max-change-rate 0.05 \
--min-self-delegation 1 \
--from wallet \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.0muno \
-y
EDIT EXISTING VALIDATOR
uniond tx staking edit-validator \
--new-moniker "YOUR_MONIKER_NAME" \
--identity "YOUR_KEYBASE_ID" \
--details "YOUR_DETAILS" \
--website "YOUR_WEBSITE_URL" \
--chain-id union-testnet-8 \
--commission-rate 0.05 \
--from wallet \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.0muno \
-y
UNJAIL VALIDATOR
uniond tx slashing unjail \
--from wallet \
--chain-id union-testnet-8 \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.0muno \
-y
JAIL REASON
uniond query slashing signing-info $(uniond tendermint show-validator)
LIST ALL ACTIVE VALIDATORS
uniond q staking validators -oj --limit=3000 \
| jq '.validators[] | select(.status=="BOND_STATUS_BONDED")' \
| jq -r '(.tokens|tonumber/pow(10; 6)|floor|tostring) + " \t " + .description.moniker' \
| sort -gr \
| nl
LIST ALL INACTIVE VALIDATORS
uniond q staking validators -oj --limit=3000 \
| jq '.validators[] | select(.status=="BOND_STATUS_UNBONDED")' \
| jq -r '(.tokens|tonumber/pow(10; 6)|floor|tostring) + " \t " + .description.moniker' \
| sort -gr \
| nl
VIEW VALIDATOR DETAILS
uniond q staking validator $(uniond keys show wallet --bech val -a)
WITHDRAW REWARDS FROM ALL VALIDATORS
uniond tx distribution withdraw-all-rewards \
--from wallet \
--chain-id union-testnet-8 \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.0muno \
-y
WITHDRAW COMMISSION AND REWARDS FROM YOUR VALIDATOR
uniond tx distribution withdraw-rewards $(uniond keys show wallet --bech val -a) \
--commission \
--from wallet \
--chain-id union-testnet-8 \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.0muno \
-y
DELEGATE TOKENS TO YOURSELF
uniond tx staking delegate $(uniond keys show wallet --bech val -a) 1000000muno \
--from wallet \
--chain-id union-testnet-8 \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.0muno \
-y
DELEGATE TOKENS TO VALIDATOR
uniond tx staking delegate <TO_VALOPER_ADDRESS> 1000000muno \
--from wallet \
--chain-id union-testnet-8 \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.0muno \
-y
REDELEGATE TOKENS TO ANOTHER VALIDATOR
uniond tx staking redelegate $(uniond keys show wallet --bech val -a) <TO_VALOPER_ADDRESS> 1000000muno \
--from wallet \
--chain-id union-testnet-8 \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.0muno \
-y
UNBOND TOKENS FROM YOUR VALIDATOR
uniond tx staking unbond $(uniond keys show wallet --bech val -a) 1000000muno \
--from wallet \
--chain-id union-testnet-8 \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.0muno \
-y
SEND TOKENS TO THE WALLET
uniond tx bank send wallet <TO_WALLET_ADDRESS> 1000000muno \
--from wallet \
--chain-id union-testnet-8 \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.0muno \
-y
Last updated