Wallet
Add New Wallet
arkeod keys add wallet
Recover
arkeod keys add wallet --recover
List All Wallets
arkeod keys list
Delete wallet
arkeod keys delete wallet
Check Balance
arkeod q bank balances $(arkeod keys show wallet -a)
Create Validator
Obtain your validator public key by running the following command:
arkeod comet show-validator
The output will be similar to this (with a different key):
{"@type":"/cosmos.crypto.ed25519.PubKey","key":"lR1d7YBVK5jYijOfWVKRFoWCsS4dg3kagT7LB9GnG8I="}
Then, create a file named validator.json
with the following content:
nano $HOME/validator.json
Change your info, from "pubkey" to "details" and Save them
{
"pubkey": {"@type":"/cosmos.crypto.ed25519.PubKey","key":"lR1d7YBVK5jYijOfWVKRFoWCsS4dg3kagT7LB9GnG8I="},
"amount": "100000000uarkeo",
"moniker": "<validator-name>",
"identity": "optional identity signature (ex. UPort or Keybase)",
"website": "validator's (optional) website",
"security": "validator's (optional) security contact email",
"details": "validator's (optional) details",
"commission-rate": "0.1",
"commission-max-rate": "0.2",
"commission-max-change-rate": "0.01",
"min-self-delegation": "1"
}
Finally, we're ready to submit the transaction to create the validator:
arkeod tx staking create-validator $HOME/validator.json \
--chain-id=arkeo-main-v1 \
--from=wallet \
--gas-prices=0.01uarkeo \
--gas-adjustment=1.5 \
--gas=auto \
-y
Edit Validator
arkeod tx staking edit-validator \
--new-moniker "YOUR_MONIKER_NAME" \
--identity "YOUR_KEYBASE_ID" \
--details "YOUR_DETAILS" \
--website "YOUR_WEBSITE_URL" \
--from wallet \
--chain-id arkeo-main-v1 \
--gas-prices 0.01uarkeo \
--gas-adjustment 1.5 \
--gas auto \
-y
Check sync
arkeod status 2>&1 | jq .sync_info.catching_up
Delegate to Yourself
arkeod tx staking delegate $(arkeod keys show wallet --bech val -a) 100000000uarkeo --from wallet --chain-id arkeo-main-v1 --gas-prices 0.01uarkeo --gas-adjustment 1.5 --gas auto -y
Withdraw rewards and commission
arkeod tx distribution withdraw-rewards $(arkeod keys show wallet --bech val -a) \
--commission \
--from wallet \
--chain-id arkeo-main-v1 \
--gas-prices 0.01uarkeo \
--gas-adjustment 1.5 \
--gas auto \
-y
Unjail validator
arkeod tx slashing unjail --from wallet \
--from wallet \
--chain-id arkeo-main-v1 \
--gas-prices 0.01uarkeo \
--gas-adjustment 1.5 \
--gas auto \
-y
Unbond
arkeod tx staking unbond $(arkeod keys show wallet --bech val -a) 100000000uarkeo \
--from wallet \
--chain-id arkeo-main-v1 \
--gas-prices 0.01uarkeo \
--gas-adjustment 1.5 \
--gas auto \
-y
Vote
arkeod tx gov vote 1 yes \
--from wallet \
--chain-id arkeo-main-v1 \
--gas-prices 0.01uarkeo \
--gas-adjustment 1.5 \
--gas auto \
-y
Services Management
# Reload Service
sudo systemctl daemon-reload
# Enable Service
sudo systemctl enable arkeod
# Disable Service
sudo systemctl disable arkeod
# Start Service
sudo systemctl start arkeod
# Stop Service
sudo systemctl stop arkeod
# Restart Service
sudo systemctl restart arkeod
# Check Service Status
sudo systemctl status arkeod
# Check Service Logs
sudo journalctl -u arkeod -f --no-hostname -o cat
Snapshot
sudo systemctl stop arkeod
cp $HOME/.arkeo/data/priv_validator_state.json $HOME/.arkeo/priv_validator_state.json.backup
rm -rf $HOME/.arkeo/data $HOME/.arkeo/wasmPath
curl https://snapshots.nodesync.top/Mainnet/Arkeo/arkeo_latest.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.arkeo
mv $HOME/.arkeo/priv_validator_state.json.backup $HOME/.arkeo/data/priv_validator_state.json
sudo systemctl restart arkeod && sudo journalctl -u arkeod -f
Backup Validator
cat $HOME/.arkeo/config/priv_validator_key.json
Remove node
cd $HOME
sudo systemctl stop arkeod
sudo systemctl disable arkeod
sudo rm /etc/systemd/system/arkeod.service
sudo systemctl daemon-reload
rm -f $(which arkeod)
rm -rf $HOME/.arkeo
rm -rf $HOME/arkeo