Mainnet
Arkeo
- Chain ID
- Version
- Go
Run these after the install guide, which sets $WALLET, $MONIKER and the chain variables.
Keys and wallet
Add a new key
arkeod keys add $WALLETRecover a key
arkeod keys add $WALLET --recoverList keys
arkeod keys listWallet balance
arkeod q bank balances $(arkeod keys show $WALLET -a)
Validator
Create a validator
cat > $HOME/validator.json << EOF { "pubkey": $(arkeod comet show-validator), "amount": "100000000uarkeo", "moniker": "$MONIKER", "identity": "", "website": "", "security": "", "details": "", "commission-rate": "0.05", "commission-max-rate": "0.20", "commission-max-change-rate": "0.05", "min-self-delegation": "1" } EOF arkeod tx staking create-validator $HOME/validator.json --from $WALLET --chain-id $ARKEO_CHAIN_ID --gas auto --gas-adjustment 1.5 --gas-prices 0.001uarkeo -yEdit the validator
arkeod tx staking edit-validator --new-moniker "$MONIKER" --identity "" --website "" --details "" --from $WALLET --chain-id $ARKEO_CHAIN_ID --gas auto --gas-adjustment 1.5 --gas-prices 0.001uarkeo -yUnjail
arkeod tx slashing unjail --from $WALLET --chain-id $ARKEO_CHAIN_ID --gas auto --gas-adjustment 1.5 --gas-prices 0.001uarkeo -yValidator details
arkeod q staking validator $(arkeod keys show $WALLET --bech val -a)
Tokens
Withdraw all rewards
arkeod tx distribution withdraw-all-rewards --from $WALLET --chain-id $ARKEO_CHAIN_ID --gas auto --gas-adjustment 1.5 --gas-prices 0.001uarkeo -yWithdraw commission and rewards
arkeod tx distribution withdraw-rewards $(arkeod keys show $WALLET --bech val -a) --commission --from $WALLET --chain-id $ARKEO_CHAIN_ID --gas auto --gas-adjustment 1.5 --gas-prices 0.001uarkeo -yDelegate to yourself
arkeod tx staking delegate $(arkeod keys show $WALLET --bech val -a) 100000000uarkeo --from $WALLET --chain-id $ARKEO_CHAIN_ID --gas auto --gas-adjustment 1.5 --gas-prices 0.001uarkeo -yRedelegate
arkeod tx staking redelegate $(arkeod keys show $WALLET --bech val -a) <TO_VALOPER> 100000000uarkeo --from $WALLET --chain-id $ARKEO_CHAIN_ID --gas auto --gas-adjustment 1.5 --gas-prices 0.001uarkeo -yUnbond
arkeod tx staking unbond $(arkeod keys show $WALLET --bech val -a) 100000000uarkeo --from $WALLET --chain-id $ARKEO_CHAIN_ID --gas auto --gas-adjustment 1.5 --gas-prices 0.001uarkeo -ySend tokens
arkeod tx bank send $WALLET <TO_ADDRESS> 100000000uarkeo --chain-id $ARKEO_CHAIN_ID --gas auto --gas-adjustment 1.5 --gas-prices 0.001uarkeo -y
Governance
List proposals
arkeod q gov proposalsView a proposal
arkeod q gov proposal <ID>Vote
arkeod tx gov vote <ID> yes --from $WALLET --chain-id $ARKEO_CHAIN_ID --gas auto --gas-adjustment 1.5 --gas-prices 0.001uarkeo -y # yes | no | abstain | no_with_veto
Maintenance
Node status
arkeod status 2>&1 | jqNode peer address
echo $(arkeod comet show-node-id)@$(wget -qO- eth0.me):$ARKEO_PORT656Live peers
curl -s localhost:$ARKEO_PORT657/net_info | jq -r '.result.peers[] | "\(.node_info.id)@\(.remote_ip):\(.node_info.listen_addr | split(":") | last)"' | paste -sd,Check the validator key
[[ $(arkeod q staking validator $(arkeod keys show $WALLET --bech val -a) -o json | jq -r .validator.consensus_pubkey.value) = $(arkeod comet show-validator | jq -r .key) ]] && echo "match" || echo "MISMATCH"Reset chain data
arkeod comet unsafe-reset-all --keep-addr-book --home $HOME/.arkeoRemove the node
sudo systemctl stop arkeod sudo systemctl disable arkeod sudo rm /etc/systemd/system/arkeod.service sudo systemctl daemon-reload rm -rf $HOME/.arkeo $(which arkeod)
Service
Service status
sudo systemctl status arkeodFollow logs
sudo journalctl -fu arkeod -o catRestart
sudo systemctl restart arkeodStop
sudo systemctl stop arkeod