Skip to main content

Command

Wallet:

Add New Wallet:

archwayd keys add wallet

Restore executing wallet:

archwayd keys add wallet --recover

List All Wallets:

archwayd keys list

Delete wallet:

archwayd keys delete wallet

Check Balance:

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

Validator:

Create Validator:

archwayd tx staking create-validator <(cat <<EOF
{
"pubkey": $(archwayd comet show-validator),
"amount": "1000000aarch",
"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 archway-1 \
--fees 35000000000000000aarch \
-y

Edit Validator:

archwayd 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 archway-1 \
--commission-rate 0.05 \
--from your-wallet \
--gas-adjustment 1.4 \
--fees 35000000000000000aarch \
--node=https://archway-rpc.node39.top:443 \
-y

Check sync | False -> done.

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

Delegate:

archwayd tx staking delegate $(archwayd keys show wallet --bech val -a) 1000000aarch \
--from wallet \
--chain-id=archway-1 \
--gas auto \
--gas-adjustment 1.4 \
--fees 35000000000000000aarch \
--node=https://archway-rpc.node39.top:443 \
-y

Withdraw rewards and commission:

archwayd tx distribution withdraw-rewards $(archwayd keys show wallet --bech val -a) \
--commission \
--from wallet \
--chain-id=archway-1 \
--gas auto \
--gas-adjustment 1.4 \
--fees 35000000000000000aarch \
--node=https://archway-rpc.node39.top:443 \
-y

Unjail:

archwayd tx slashing unjail \
--from wallet \
--chain-id=archway-1 \
--gas auto \
--gas-adjustment 1.4 \
--fees 35000000000000000aarch \
--node=https://archway-rpc.node39.top:443 \
-y

Unbond:

archwayd tx staking unbond $(archwayd keys show wallet --bech val -a) 1000000aarch \
--from wallet \
--chain-id=archway-1 \
--gas auto \
--gas-adjustment 1.4 \
--fees 35000000000000000aarch \
--node=https://archway-rpc.node39.top:443 \
-y

Vote:

archwayd tx gov vote proposal_id yes \
--from wallet \
--chain-id=archway-1 \
--fees 35000000000000000aarch \
--node=https://rpc.mainnet.archway.io:443 \
-y

System:

Reload Service:

sudo systemctl daemon-reload

Enable Service:

sudo systemctl enable archwayd

Disable Service:

sudo systemctl disable archwayd

Start Service:

sudo systemctl start archwayd

Stop Service:

sudo systemctl stop archwayd

Restart Service:

sudo systemctl restart archwayd

Check Service Status:

sudo systemctl status archwayd

Check Service Logs:

sudo journalctl -u archwayd -fo cat