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. Airchains

Useful Commands

Service operations ⚙️

Check logs

sudo journalctl -u junctiond -fo cat

Start service

sudo systemctl start junctiond

Stop service

sudo systemctl stop junctiond

Restart service

sudo systemctl restart junctiond

Check service status

sudo systemctl status junctiond

Reload services

sudo systemctl daemon-reload

Enable Service

sudo systemctl enable junctiond

Disable Service

sudo systemctl disable junctiond

Node info

junctiond status 2>&1 | jq

Your node peer

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

Key management

Add New Wallet

junctiond keys add $WALLET

Restore executing wallet

junctiond keys add $WALLET --recover

List All Wallets

junctiond keys list

Delete wallet

junctiond keys delete $WALLET

Check Balance

junctiond q bank balances $WALLET_ADDRESS 

Export Key (save to wallet.backup)

junctiond keys export $WALLET

View EVM Prived Key

junctiond keys unsafe-export-eth-key $WALLET

Import Key (restore from wallet.backup)

junctiond keys import $WALLET wallet.backup

Tokens

Withdraw all rewards

junctiond tx distribution withdraw-all-rewards --from $WALLET --chain-id varanasi-1 --fees 200amf 

Withdraw rewards and commission from your validator

junctiond tx distribution withdraw-rewards $VALOPER_ADDRESS --from $WALLET --commission --chain-id varanasi-1 --fees 200amf -y 

Check your balance

junctiond query bank balances $WALLET_ADDRESS

Delegate to Yourself

junctiond tx staking delegate $(junctiond keys show $WALLET --bech val -a) 1000000amf --from $WALLET --chain-id varanasi-1 --fees 200amf -y 

Delegate

junctiond tx staking delegate <TO_VALOPER_ADDRESS> 1000000amf --from $WALLET --chain-id varanasi-1 --fees 200amf -y 	

Redelegate Stake to Another Validator

junctiond tx staking redelegate $VALOPER_ADDRESS <TO_VALOPER_ADDRESS> 1000000amf --from $WALLET --chain-id varanasi-1 --fees 200amf -y 

Unbond

junctiond tx staking unbond $(junctiond keys show $WALLET --bech val -a) 1000000amf --from $WALLET --chain-id varanasi-1 --fees 200amf -y 

Transfer Funds

junctiond tx bank send $WALLET_ADDRESS <TO_WALLET_ADDRESS> 1000000amf --fees 200amf -y 

Validator operations

Create New Validator

junctiond tx staking create-validator \
--amount 1000000amf \
--from $WALLET \
--commission-rate 0.1 \
--commission-max-rate 0.2 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--pubkey $(junctiond tendermint show-validator) \
--moniker "$MONIKER" \
--identity "" \
--details "xxxxxxxxx" \
--chain-id varanasi-1 \
--fees 500amf \
-y 

Edit Existing Validator

junctiond tx staking edit-validator \
--commission-rate 0.1 \
--new-moniker "$MONIKER" \
--identity "" \
--details "xxxxxxxxx" \
--from $WALLET \
--chain-id varanasi-1 \
--fees 500amf \
-y 

Validator info

junctiond status 2>&1 | jq

Validator Details

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

Jailing info

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

Slashing parameters

junctiond q slashing params 

Unjail validator

junctiond tx slashing unjail --from $WALLET --chain-id varanasi-1 --fees 500amf -y 

Active Validators List

junctiond 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

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

Signing info

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

Governance

Create New Text Proposal

junctiond  tx gov submit-proposal \
--title "" \
--description "" \
--deposit 1000000amf \
--type Text \
--from $WALLET \
--fees 500amf \
-y 

Proposals List

junctiond query gov proposals 

View proposal

junctiond query gov proposal 1 

Vote

junctiond tx gov vote 1 yes --from $WALLET --chain-id varanasi-1  --fees 500amf -y 
PreviousSyncNextMigrate Validator

Last updated 2 months ago