Skip to main content

Command

Wallet:​

Add New Wallet:​

xiond keys add wallet

Restore executing wallet:​

xiond keys add wallet --recover

List All Wallets:​

xiond keys list

Delete wallet:​

xiond keys delete wallet

Check Balance:​

xiond q bank balances $(xiond keys show wallet -a)

Validator:​

Create Validator:​

xiond tx staking create-validator <(cat <<EOF
{
"pubkey": $(xiond comet show-validator),
"amount": "1000000uxion",
"moniker": "Node39-Guide",
"identity": "YOUR_KEYBASE_ID",
"website": "YOUR_WEBSITE_URL",
"security-contact": "YOUR_SECURITY_EMAIL",
"details": "YOUR_DETAILS",
"commission-rate": "0.05",
"commission-max-rate": "0.20",
"commission-max-change-rate": "0.05",
"min-self-delegation": "1"
}
EOF
) \
--from wallet \
--chain-id xion-mainnet-1 \
--gas auto \
--gas-adjustment 1.3 \
--gas "auto" \
--gas-prices "0.025uxion" \
-y

Edit Validator​

xiond tx staking edit-validator \
--new-moniker "YOUR_MONIKER_NAME" \
--identity "YOUR_KEYBASE_ID" \
--details "YOUR_DETAILS" \
--website "YOUR_WEBSITE_URL" \
--security-contact "YOUR_SECURITY_EMAIL" \
--chain-id xion-mainnet-1 \
--commission-rate 0.05 \
--from wallet \
--gas "auto" \
--gas-prices "0.025uxion" \
--gas-adjustment 1.2 \
-y

Check sync | False -> done.​

xiond status 2>&1 | jq .SyncInfo.catching_up

Delegate:​

xiond tx staking delegate $(xiond keys show wallet --bech val -a) 1000000uxion \
--from wallet \
--chain-id=xion-mainnet-1 \
--gas "auto" \
--gas-prices "0.025uxion" \
--gas-adjustment 1.2 \
-y

Withdraw rewards and commission:​

xiond tx distribution withdraw-rewards $(xiond keys show wallet --bech val -a) \
--commission \
--from wallet \
--chain-id=xion-mainnet-1 \
--gas "auto" \
--gas-prices "0.025uxion" \
--gas-adjustment 1.2 \
-y

Unjail:​

xiond tx slashing unjail \
--from wallet \
--chain-id=xion-mainnet-1 \
--gas "auto" \
--gas-prices "0.025uxion" \
--gas-adjustment 1.2 \
-y

Unbond:​

xiond tx staking unbond $(xiond keys show wallet --bech val -a) 1000000uxion \
--from wallet \
--chain-id=xion-mainnet-1 \
--gas "auto" \
--gas-prices "0.025uxion" \
--gas-adjustment 1.2 \
-y

Vote:​

xiond tx gov vote proposal_id yes \
--from wallet \
--chain-id=xion-mainnet-1 \
--gas "auto" \
--gas-prices "0.025uxion" \
--gas-adjustment 1.2 \
-y

System:​

Reload Service:​

sudo systemctl daemon-reload

Enable Service:​

sudo systemctl enable xiond

Disable Service:​

sudo systemctl disable xiond

Start Service:​

sudo systemctl start xiond

Stop Service:​

sudo systemctl stop xiond

Restart Service:​

sudo systemctl restart xiond

Check Service Status:​

sudo systemctl status xiond

Check Service Logs:​

sudo journalctl -u xiond -fo cat