Useful commands
Service operations ⚙️
Check logs
sudo journalctl -u arkeod -fStart service
sudo systemctl start arkeodStop service
sudo systemctl stop arkeodRestart service
sudo systemctl restart arkeodCheck service status
sudo systemctl status arkeodReload services
sudo systemctl daemon-reloadEnable Service
sudo systemctl enable arkeodDisable Service
sudo systemctl disable arkeodSync info
arkeod status 2>&1 | jq .SyncInfoNode info
arkeod status 2>&1 | jq .NodeInfoYour node peer
echo $(arkeod tendermint show-node-id)'@'$(wget -qO- eth0.me)':'$(cat $HOME/.arkeo/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')Key
Add New Key
arkeod keys add walletRecover Existing Key
arkeod keys add wallet --recoverList All Keys
arkeod keys listDelete Key
arkeod keys delete walletExport Key (save to wallet.backup)
arkeod keys export walletImport Key
arkeod keys import wallet wallet.backupQuery Wallet Balance
arkeod q bank balances $(arkeod keys show wallet -a)Tokens
Withdraw all rewards
arkeod tx distribution withdraw-all-rewards --from $WALLET --chain-id arkeo --gas auto --gas-adjustment 1.5Withdraw rewards and commission from your validator
arkeod tx distribution withdraw-rewards $VALOPER_ADDRESS --from $WALLET --commission --chain-id arkeo --gas auto --gas-adjustment 1.5 -yCheck your balance
arkeod query bank balances $WALLET_ADDRESSDelegate to Yourself
arkeod tx staking delegate $(arkeod keys show $WALLET --bech val -a) 1000000uarkeo --from $WALLET --chain-id arkeo --gas auto --gas-adjustment 1.5 -yDelegate
arkeod tx staking delegate <TO_VALOPER_ADDRESS> 1000000uarkeo --from $WALLET --chain-id arkeo --gas auto --gas-adjustment 1.5 -yRedelegate Stake to Another Validator
arkeod tx staking redelegate $VALOPER_ADDRESS <TO_VALOPER_ADDRESS> 1000000uarkeo --from $WALLET --chain-id arkeo --gas auto --gas-adjustment 1.5 -yUnbond
arkeod tx staking unbond $(arkeod keys show $WALLET --bech val -a) 1000000uarkeo --from $WALLET --chain-id arkeo --gas auto --gas-adjustment 1.5 -yTransfer Funds
arkeod tx bank send $WALLET_ADDRESS <TO_WALLET_ADDRESS> 1000000uarkeo --gas auto --gas-adjustment 1.5 -yValidator operations
Create New Validator
arkeod tx staking create-validator \
--amount 1000000uarkeo \
--from $WALLET \
--commission-rate 0.1 \
--commission-max-rate 0.2 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--pubkey $(arkeod tendermint show-validator) \
--moniker "$MONIKER" \
--identity "" \
--details "xxxxxxxxxxxx" \
--chain-id arkeo \
--gas auto --gas-adjustment 1.5 \
-yEdit Existing Validator
arkeod tx staking edit-validator \
--commission-rate 0.1 \
--new-moniker "$MONIKER" \
--identity "" \
--details "xxxxxxxxxx" \
--from $WALLET \
--chain-id arkeo \
--gas auto --gas-adjustment 1.5 \
-yValidator info
arkeod status 2>&1 | jq .ValidatorInfoValidator Details
arkeod q staking validator $(arkeod keys show $WALLET --bech val -a)Jailing info
arkeod q slashing signing-info $(arkeod tendermint show-validator)Unjail validator
arkeod tx slashing unjail --from $WALLET --chain-id arkeo --gas auto --gas-adjustment 1.5 -yActive Validators List
arkeod q staking validators -oj --limit=2000 | jq '.validators[] | select(.status=="BOND_STATUS_BONDED")' | jq -r '(.tokens|tonumber/pow(10; 6)|floor|tostring) + " " + .description.moniker' | sort -gr | nlCheck Validator key
[[ $(arkeod q staking validator $VALOPER_ADDRESS -oj | jq -r .consensus_pubkey.key) = $(arkeod status | jq -r .ValidatorInfo.PubKey.value) ]] && echo -e "Your key status is ok" || echo -e "Your key status is error"Signing info
arkeod q slashing signing-info $(arkeod tendermint show-validator)Governance
Create New Text Proposal
arkeod tx gov submit-proposal \
--title "" \
--description "" \
--deposit 1000000uarkeo \
--type Text \
--from $WALLET \
--gas auto --gas-adjustment 1.5 \
-y Proposals List
arkeod query gov proposalsProposal IDProposal optionYesNoNo with vetoAbstain
View proposal
arkeod query gov proposal 1Vote
arkeod tx gov vote 1 yes --from $WALLET --chain-id arkeo --gas auto --gas-adjustment 1.5 -yDelete Node
sudo systemctl stop arkeod
sudo systemctl disable arkeod
sudo rm -rf /etc/systemd/system/arkeod.service
sudo rm $(which arkeod)
sudo rm -rf $HOME/.arkeo
sed -i "/ARKEO_/d" $HOME/.bash_profileLast updated