KonsorTech
  • Mainnet
    • 8ball
      • public_endpoint
      • State Sync
      • validator
    • Acre
      • public_endpoint
      • Snapshots
      • State Sync
      • validator
    • Arkhadian
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Atomone
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Aura
      • public_endpoint
      • Daily Snapshot (Every 12 Hours)
      • State Sync
      • validator
      • Aura Decentralization Maps
    • Bitcanna
      • Node Geographical Locations
      • public_endpoint
      • Daily Snapshot (Every 6 Hours)
      • State Sync
      • validator
      • Bitcanna Decentralization Maps
      • Upgrade
    • Blockx
      • Custom Explorers
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Bluzelle
      • public_endpoint
      • Snapshot
      • State Sync
    • Composable
      • validator
    • Crossfi
      • publilc_endpoint
      • Snapshot
      • State Sync
      • validator
    • Decentr
      • public_endpoint
      • State Sync
      • validator
    • Echelon
      • public_endpoint
      • State Sync
      • validator
    • Empower
      • public_endpoint
      • State Sync
      • validator
    • Entangle
      • public_endpoint
      • Snapshot
      • Statesync
      • validator
    • Gitopia
      • public_endpoint
      • Daily Snapshot (Every 6 Hours)
      • State Sync
      • validator
    • Gravity-Bridge
    • Haqq
      • Custom Explorers
      • Public Endpoint
      • Snapshot
      • State Sync
      • validator
    • Humans
      • Custom Explorers
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Irisnet
      • public_endpoint
      • Daily Snapshot
      • Statesync
      • validator
    • KYVE
      • public_endpoint
      • State Sync
      • validator
    • Lambda
      • public_endpoint
      • State Sync
      • validator
    • LumenX
      • public_endpoint
      • Daily Snapshot
      • State Sync
      • validator
    • How to Run Massa Node
    • Mises
      • public_endpoint
      • State Sync
      • validator
    • Mun
      • public_endpoint
      • Daily Snapshot (Every 12 Hours)
      • Statesync
      • validator
    • NEAR
      • How to update near mainnet node
    • Neutaro
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Nibiru
      • public_endpoint
      • State Sync
      • validator
    • Nolus
      • public_endpoint
      • Snapshot Every 6 Hourse
      • State Sync
      • validator
    • Odin-Freya
      • public_endpoint
      • State Sync
      • validator
    • Orai
      • Custom Explorers
      • Public Endpoint
      • Snapshot
      • State Sync
      • Update to ASA-2024-007 security patch For Non Docker Users and Non Cosmovisor
      • validator
    • Planq
      • public_endpoint
      • Daily Snapshot
      • State Sync
      • validator
      • Upgrade
        • v1.0.3
    • Pointnetwork
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Quicksilver
      • Custom Explorer
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Realio
      • public_endpoint
      • Daily Snapshot (Every 12 Hours)
      • State Sync
      • validator
    • Seda
      • Public Endpoints
      • Snapshot
      • State Sync
      • validator
    • Selfchain
      • Public Endpoints
      • Snapshot
      • State Sync
      • validator
    • Sge
      • Public Endpoint
      • Snapshot
      • Statesync
      • validator
    • Terp
      • public_endpoint
      • State Sync
      • validator
    • Umee
      • State Sync
    • Uptick
      • Public Endpoint
      • Daily Snapshot (Every 12 Hours)
      • State Sync
      • validator
      • Uptick Decentralization Maps
    • Vidulum
      • public_endpoint
      • State Sync
      • validator
  • Testnet
    • 0g
      • Public Endpoints
      • Snapshot
      • State Sync
      • validator
    • Airchains
      • Public Endpoints
      • Snapshot
      • State Sync
      • validator
    • Andromeda
      • public_endpoint
      • State Sync
      • validator
    • Arkeo
      • validator
    • Artela
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Atomone
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Aura
      • public_endpoint
      • State Sync
      • validator
    • Bitcanna
      • public_endpoint
      • Daily Snapshot (Every 6 Hours)
      • State Sync
      • validator
      • upgrade
    • Blockx
      • Custom Explorers
      • public_endpoint
      • State Sync
      • validator
    • Bonus-block
      • public_endpoint
      • State Sync
      • validator
    • Celestia
      • Usefull CLI guide for celestia light node
    • Coreum
      • public_endpoint
      • State Sync
    • Crossfi
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Defund
      • public_endpoint
      • State Sync
      • validator
    • Empeiria
      • Public Endpoints
      • Snapshot
      • State Sync
      • validator
    • Empower
      • public_endpoint
      • State Sync
      • validator
    • Entangle
      • public_endpoint
      • Snapshot
      • validator
    • Gitopia
      • public_endpoint
      • State Sync
      • validator
    • Haqq-network
      • public_endpoint
      • State Sync
      • validator
    • Hedge
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Humans
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
      • Friction-Testnet
        • validator
        • Task
          • Mission-2
            • Restart
              • Restart 1 - Sun May 14 2023 5:03PM UTC
              • Restart 2 - Sun May 14 2023 5:43PM UTC
              • Restart 3 - Sun May 14 2023 6:52PM UTC
    • Hypersign
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Initia
      • Public Endpoints
      • Snapshot
      • State Sync
      • validator
    • MUN
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Mande
      • public_endpoint
      • State Sync
      • Introducing Mande Network’s Incentivized Testnet-2
    • Mantra
      • Custom Explorers
      • Public Endpoints
      • Snapshot
      • State Sync
      • validator
      • Mantra Testnet Decentralization Maps
    • Mars
      • public_endpoint
      • State Sync
      • validator
    • Namada
      • CLI for Namada
      • pre-genesis
      • public_enpoint
      • Snapshot
      • Upgrade Namada
    • Neutron
      • Tendermint_KMS
    • Nibiru
      • public_endpoint
      • State Sync
      • validator
    • Nolus
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
      • Upgrade
    • Noria
      • public_endpoint
      • validator
    • Worker Installation
    • Ollo
      • public_endpoint
      • State Sync
    • Pryzm
      • Custom Explorer
      • How To Install & Run Pryzm Pricefeeder
      • Public Endpoint
      • Snapshot
      • State Sync
      • validator
    • Quicksilver
      • Custom Explorer
      • Public Endpoint
      • State Sync
      • validator
    • Realio
      • public_endpoint
      • State Sync
      • validator
    • Selfchain
      • Custom Explorers
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Sge
      • Public Endpoint
      • Statesync
      • validator
    • Side
      • public_endpoint
      • Snapshots
      • State Sync
      • validator
    • Swisstronik
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Symphony
      • Public Endpoints
      • Snapshot
      • State Sync
      • validator
    • Terra-goa
      • upgrade
    • TimpiTN
      • public_endpoint
      • validator
    • Union
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Uptick
      • public_endpoint
      • State Sync
      • validator
      • Automatic upgrade
    • Warden
      • public_endpoint
      • State Sync
      • validator
    • XRPLEVM
      • Public Endpoints
      • Snapshot
      • State Sync
      • validator
    • impact-protocol
    • q-blockchain
    • sui-guide
      • docker
    • Composable
      • Testnet-2
        • validator
      • Testnet-3
        • validator
Powered by GitBook
On this page
  1. Testnet
  2. Airchains

validator

Guide for Validator CLI

Create wallet

To create new wallet you can use command below. Don’t forget to save the mnemonic

junctiond keys add $WALLET

To recover your wallet using seed phrase

junctiond keys add $WALLET --recover

Show your wallet list

junctiond keys list

Save wallet info

Add wallet and validator address into variables

AIRCHAINS_WALLET_ADDRESS=$(junctiond keys show $WALLET -a)
AIRCHAINS_VALOPER_ADDRESS=$(junctiond keys show $WALLET --bech val -a)
echo 'export AIRCHAINS_WALLET_ADDRESS='${AIRCHAINS_WALLET_ADDRESS} >> $HOME/.bash_profile
echo 'export AIRCHAINS_VALOPER_ADDRESS='${AIRCHAINS_VALOPER_ADDRESS} >> $HOME/.bash_profile
source $HOME/.bash_profile

Fund your wallet

Faucet available on discord #switchyard-faucet-bot

$faucet airxxxxx

Create validator

To create your validator run command below

junctiond comet show-validator

The output will be similar to this (with a different key) "pubkey":

{"@type":"/cosmos.crypto.ed25519.PubKey","key":"xxxxxxxx"}

Then, create a file named validator.json with the following content:

{    
    "pubkey": {"@type":"/cosmos.crypto.ed25519.PubKey","key":"xxxxxxx"},
    "amount": "1000000amf",
    "moniker": "your-node-moniker",
    "identity": "airchain testnet validator",
    "website": "optional website for your validator",
    "security": "optional security contact for your validator",
    "details": "optional details for your validator",
    "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:

junctiond tx staking create-validator validator.json \
    --from=$WALLET \
    --chain-id=$AIRCHAINS_CHAIN_ID \
    --fees=200amf

Check your validator key

[[ $(junctiond q staking validator $AIRCHAINS_VALOPER_ADDRESS -oj | jq -r .consensus_pubkey.key) = $(junctiond status | jq -r .validator_info.PubKey.value) ]] && echo -e "\n\e[1m\e[32mTrue\e[0m\n" || echo -e "\n\e[1m\e[31mFalse\e[0m\n"

Get list of validators

junctiond q staking validators -oj --limit=3000 | jq '.validators[] | select(.status=="BOND_STATUS_BONDED")' | jq -r '(.tokens|tonumber/pow(10; 6)|floor|tostring) + " \t " + .description.moniker' | sort -gr | nl

Usefull commands

Service management

Check logs

journalctl -fu junctiond -o cat

Start service

sudo systemctl start junctiond

Stop service

sudo systemctl stop junctiond

Restart service

sudo systemctl restart junctiond

Node info

Synchronization info

junctiond status 2>&1 | jq .sync_info

Validator info

junctiond status 2>&1 | jq .validator_info

Node info

junctiond status 2>&1 | jq .node_info

Show node id

junctiond tendermint show-node-id

Wallet operations

List of wallets

junctiond keys list

Recover wallet

junctiond keys add $WALLET --recover

Delete wallet

junctiond keys delete $WALLET

Get wallet balance

junctiond query bank balances $AIRCHAINS_WALLET_ADDRESS

Transfer funds

junctiond tx bank send $AIRCHAINS_WALLET_ADDRESS <TO_AIRCHAINS_WALLET_ADDRESS> 1000000amf

Voting

junctiond tx gov vote 1 yes --from $WALLET --chain-id=$AIRCHAINS_CHAIN_ID

Staking, Delegation and Rewards

Delegate stake

junctiond tx staking delegate $AIRCHAINS_VALOPER_ADDRESS 1000000amf --from=$WALLET --chain-id=$AIRCHAINS_CHAIN_ID --gas=auto

Redelegate stake from validator to another validator

junctiond tx staking redelegate <srcValidatorAddress> <destValidatorAddress> 1000000amf --from=$WALLET --chain-id=$AIRCHAINS_CHAIN_ID --gas=auto

Withdraw all rewards

junctiond tx distribution withdraw-all-rewards --from=$WALLET --chain-id=$AIRCHAINS_CHAIN_ID --gas=auto

Withdraw rewards with commision

junctiond tx distribution withdraw-rewards $AIRCHAINS_VALOPER_ADDRESS --from=$WALLET --commission --chain-id=$AIRCHAINS_CHAIN_ID

Validator management

Edit validator

junctiond tx staking edit-validator \
  --moniker=$NODENAME \
  --identity=<your_keybase_id> \
  --website="<your_website>" \
  --details="<your_validator_description>" \
  --chain-id=$AIRCHAINS_CHAIN_ID \
  --from=$WALLET

Unjail validator

junctiond tx slashing unjail \
  --broadcast-mode=block \
  --from=$WALLET \
  --chain-id=$AIRCHAINS_CHAIN_ID \
  --gas=auto
PreviousState SyncNextAndromeda

Last updated 1 year ago