Skip to main content

Command

Wallet:

Add New Wallet:

nexaraild keys add wallet

Restore executing wallet:

nexaraild keys add wallet --recover

List All Wallets:

nexaraild keys list

Delete wallet:

nexaraild keys delete wallet

Check Balance:

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

Validator:

Create Validator:

nexaraild tx staking create-validator <(cat <<EOF
{
"pubkey": $(nexaraild comet show-validator),
"amount": "1000000unxrl",
"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 nexarail-mainnet-1 \
--gas auto \
--gas-adjustment 1.3 \
--fees 300unxrl \
-y

Edit Validator

nexaraild 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 nexarail-mainnet-1 \
--commission-rate 0.05 \
--from wallet \
--fees 300unxrl \
-y

Check sync | False -> done.

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

Delegate:

nexaraild tx staking delegate $(nexaraild keys show wallet --bech val -a) 1000000unxrl \
--from wallet \
--chain-id=nexarail-mainnet-1 \
--fees 300unxrl \
-y

Withdraw rewards and commission:

nexaraild tx distribution withdraw-rewards $(nexaraild keys show wallet --bech val -a) \
--commission \
--from wallet \
--chain-id=nexarail-mainnet-1 \
--fees 300unxrl \
-y

Unjail:

nexaraild tx slashing unjail \
--from wallet \
--chain-id=nexarail-mainnet-1 \
--fees 300unxrl \
-y

Unbond:

nexaraild tx staking unbond $(nexaraild keys show wallet --bech val -a) 1000000unxrl \
--from wallet \
--chain-id=nexarail-mainnet-1 \
--fees 300unxrl \
-y

Vote:

nexaraild tx gov vote proposal_id yes \
--from wallet \
--chain-id=nexarail-mainnet-1 \
--fees 300unxrl \
-y

System:

Reload Service:

sudo systemctl daemon-reload

Enable Service:

sudo systemctl enable nexaraild

Disable Service:

sudo systemctl disable nexaraild

Start Service:

sudo systemctl start nexaraild

Stop Service:

sudo systemctl stop nexaraild

Restart Service:

sudo systemctl restart nexaraild

Check Service Status:

sudo systemctl status nexaraild

Check Service Logs:

sudo journalctl -u nexaraild -fo cat