Skip to content
All services

Mainnet

Arkeo

Chain ID
Version
Go

Run these after the install guide, which sets $WALLET, $MONIKER and the chain variables.

Keys and wallet

  1. Add a new key

    arkeod keys add $WALLET
  2. Recover a key

    arkeod keys add $WALLET --recover
  3. List keys

    arkeod keys list
  4. Wallet balance

    arkeod q bank balances $(arkeod keys show $WALLET -a)

Validator

  1. 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 -y
  2. Edit 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 -y
  3. Unjail

    arkeod tx slashing unjail --from $WALLET --chain-id $ARKEO_CHAIN_ID --gas auto --gas-adjustment 1.5 --gas-prices 0.001uarkeo -y
  4. Validator details

    arkeod q staking validator $(arkeod keys show $WALLET --bech val -a)

Tokens

  1. 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 -y
  2. Withdraw 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 -y
  3. Delegate 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 -y
  4. Redelegate

    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 -y
  5. Unbond

    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 -y
  6. Send 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

  1. List proposals

    arkeod q gov proposals
  2. View a proposal

    arkeod q gov proposal <ID>
  3. 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

  1. Node status

    arkeod status 2>&1 | jq
  2. Node peer address

    echo $(arkeod comet show-node-id)@$(wget -qO- eth0.me):$ARKEO_PORT656
  3. Live 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,
  4. 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"
  5. Reset chain data

    arkeod comet unsafe-reset-all --keep-addr-book --home $HOME/.arkeo
  6. Remove 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

  1. Service status

    sudo systemctl status arkeod
  2. Follow logs

    sudo journalctl -fu arkeod -o cat
  3. Restart

    sudo systemctl restart arkeod
  4. Stop

    sudo systemctl stop arkeod
Original guide (GitBook)