AKNodes | Chain services
  • Links
    • Explorer
    • Website
  • 💻TESTNET NETWORKS
  • Pell network
    • Installation
    • Upgrade
    • Sync
    • Useful commands
  • Arkeo network
    • Installation
    • Upgrade
    • Sync
    • Useful commands
  • Andromeda
    • Installation
    • Upgarde
    • Sync
    • Useful commands
  • Axelar
    • Installation
    • Upgrade
    • Sync
    • Useful commands
  • Evmos
    • Installation (PebbleDB)
    • Upgrade
    • Sync
    • Useful commands
  • Lava
    • Installation
    • Upgrade
    • Sync
    • Useful commands
    • Migrate validator
  • Ojo
    • Installation
    • Upgrade
    • Sync
    • Useful commands
  • Axone
    • Installation
    • Upgrade
    • Sync
    • Useful commands
  • Terp Network
    • Installation
    • Upgrade
    • Sync
    • Useful commands
  • Mantra
    • Installation
    • Upgrade
    • Sync
    • Useful commands
  • SAO
    • Installation
    • Upgrade
    • Sync
    • Useful commands
  • Artela
    • Installation
    • Upgrade
    • Sync
    • Useful commands
    • Migrate validator
  • Swisstronik
    • Installation
    • Upgrade
    • Sync
    • Useful commands
  • Crossfi
    • Installation
    • Upgrade
    • Sync
    • Useful commands
    • Migrate validator
  • Hedge
    • Installation
    • Upgrade
    • Sync
    • Useful commands
  • Warden
    • Installation
    • Upgrade
    • Sync
    • Useful commands
  • Side Protocol
    • Installation
    • Upgrade
    • Sync
    • Useful commands
  • Galactica
    • Installation
    • Upgrade
    • Sync
    • Usefull Commands
  • Initia
    • Installation
    • Upgrade
    • Sync
    • Useful Commands
  • Airchains
    • Installation
    • Upgrade
    • Sync
    • Useful Commands
    • Migrate Validator
  • Symphony
    • Installation
    • Upgrade
    • Sync
    • Useful Commands
  • Prysm
    • Installation
    • Upgrade
    • Sync
    • Useful Commands
  • 💻MAINNET NETWORKS
    • Nibiru
      • Installation
      • Upgrade
      • Sync
      • Useful commands
    • Entangle
      • Installation
      • Upgrade
      • Sync
      • Useful commands
      • Migrate Validator
    • Axelar
      • Installation (PebbleDB)
      • Upgrade
      • Sync
      • Useful commands
    • Evmos
      • Installation (PebbleDB)
      • Upgrade
      • Sync
      • Useful commands
    • Planq
      • Installation
      • Upgrade
      • Sync
      • Useful commands
    • Haqq
      • Installation
      • Upgrade
      • Sync
      • Useful commands
    • Terp Network
      • Installation
      • Upgrade
      • Sync
      • Useful commands
    • Gitopia
      • Installation
      • Upgrade
      • Sync
      • Useful Commands
    • Lava
      • Installation
      • Upgrade
      • Sync
      • Useful commands
    • Arkeo
      • Installation
      • Upgrade
      • Sync
      • Useful commands
  • 💻OTHER PROJETCS
    • Avail mainnet
      • Installation
      • Sync
      • Upgrade
    • Massa Labs
      • Installation
    • Avail turing
      • Installation
      • Sync
      • Upgrade
    • Nulink
    • MOI
Powered by GitBook
On this page
  • Service operations ⚙️
  • Key management
  • Tokens
  • Validator operations
  • Governance
  1. Warden

Useful commands

Service operations ⚙️

Check logs

sudo journalctl -u wardend -f

Start service

sudo systemctl start wardend

Stop service

sudo systemctl stop wardend

Restart service

sudo systemctl restart wardend

Check service status

sudo systemctl status wardend

Reload services

sudo systemctl daemon-reload

Enable Service

sudo systemctl enable wardend

Disable Service

sudo systemctl disable wardend

Node info

wardend status 2>&1 | jq

Your node peer

echo $(wardend tendermint show-node-id)'@'$(wget -qO- eth0.me)':'$(cat $HOME/.warden/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')

Key management

Add New Wallet

wardend keys add $WALLET

Restore executing wallet

wardend keys add $WALLET --recover

List All Wallets

wardend keys list

Delete wallet

wardend keys delete $WALLET

Check Balance

wardend q bank balances $WALLET_ADDRESS 

Export Key (save to wallet.backup)

wardend keys export $WALLET

View EVM Prived Key

wardend keys unsafe-export-eth-key $WALLET

Import Key (restore from wallet.backup)

wardend keys import $WALLET wallet.backup

Tokens

Withdraw all rewards

wardend tx distribution withdraw-all-rewards --from $WALLET --chain-id chiado_10010-1 --gas auto --gas-adjustment 1.6 --fees 250000000000000award 

Withdraw rewards and commission from your validator

wardend tx distribution withdraw-rewards $VALOPER_ADDRESS --from $WALLET --commission --chain-id chiado_10010-1 --gas auto --gas-adjustment 1.6 --fees 250000000000000award -y 

Check your balance

wardend query bank balances $WALLET_ADDRESS

Delegate to Yourself

wardend tx staking delegate $(wardend keys show $WALLET --bech val -a) 1000000award --from $WALLET --chain-id chiado_10010-1 --gas auto --gas-adjustment 1.6 --fees 250000000000000award -y 

Delegate

wardend tx staking delegate <TO_VALOPER_ADDRESS> 1000000award --from $WALLET --chain-id chiado_10010-1 --gas auto --gas-adjustment 1.6 --fees 250000000000000award -y 	

Redelegate Stake to Another Validator

wardend tx staking redelegate $VALOPER_ADDRESS <TO_VALOPER_ADDRESS> 1000000award --from $WALLET --chain-id chiado_10010-1 --gas auto --gas-adjustment 1.6 --fees 250000000000000award -y 

Unbond

wardend tx staking unbond $(wardend keys show $WALLET --bech val -a) 1000000award --from $WALLET --chain-id chiado_10010-1 --gas auto --gas-adjustment 1.6 --fees 250000000000000award -y 

Transfer Funds

wardend tx bank send $WALLET_ADDRESS <TO_WALLET_ADDRESS> 1000000award --gas auto --gas-adjustment 1.6 --fees 250000000000000award -y 

Validator operations

Create New Validator

wardend tx staking create-validator \
--amount 1000000award \
--from $WALLET \
--commission-rate 0.1 \
--commission-max-rate 0.2 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--pubkey $(wardend tendermint show-validator) \
--moniker "$MONIKER" \
--identity "" \
--details "xxxxxx" \
--chain-id chiado_10010-1 \
--gas auto --gas-adjustment 1.6 --fees 250000000000000award \
-y 

Edit Existing Validator

wardend tx staking edit-validator \
--commission-rate 0.1 \
--new-moniker "$MONIKER" \
--identity "" \
--details "xxxxxx" \
--from $WALLET \
--chain-id chiado_10010-1 \
--gas auto --gas-adjustment 1.6 --fees 250000000000000award \
-y 

Validator info

wardend status 2>&1 | jq

Validator Details

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

Jailing info

wardend q slashing signing-info $(wardend tendermint show-validator) 

Slashing parameters

wardend q slashing params 

Unjail validator

wardend tx slashing unjail --from $WALLET --chain-id chiado_10010-1 --gas auto --gas-adjustment 1.6 --fees 250000000000000award -y 

Active Validators List

wardend 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 | nl 

Check Validator key

[[ $(wardend q staking validator $VALOPER_ADDRESS -oj | jq -r .consensus_pubkey.key) = $(wardend status | jq -r .ValidatorInfo.PubKey.value) ]] && echo -e "Your key status is ok" || echo -e "Your key status is error"

Signing info

wardend q slashing signing-info $(wardend tendermint show-validator) 

Governance

Create New Text Proposal

wardend  tx gov submit-proposal \
--title "" \
--description "" \
--deposit 1000000award \
--type Text \
--from $WALLET \
--gas auto --gas-adjustment 1.6 --fees 250000000000000award \
-y 

Proposals List

wardend query gov proposals 

View proposal

wardend query gov proposal 1 

Vote

wardend tx gov vote 1 yes --from $WALLET --chain-id chiado_10010-1  --gas auto --gas-adjustment 1.6 --fees 250000000000000award -y 
PreviousSyncNextSide Protocol

Last updated 6 months ago