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
  • CLI command
  • Usefull commands
  1. Mainnet
  2. Blockx

validator

CLI command

Create wallet

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

blockxd keys add $WALLET

To recover your wallet using seed phrase

blockxd keys add $WALLET --recover

Show your wallet list

blockxd keys list

Save wallet info

Add wallet and validator address into variables

BLOCKX_WALLET_ADDRESS=$(blockxd keys show $WALLET -a)
BLOCKX_VALOPER_ADDRESS=$(blockxd keys show $WALLET --bech val -a)
echo 'export BLOCKX_WALLET_ADDRESS='${BLOCKX_WALLET_ADDRESS} >> $HOME/.bash_profile
echo 'export BLOCKX_VALOPER_ADDRESS='${BLOCKX_VALOPER_ADDRESS} >> $HOME/.bash_profile
source $HOME/.bash_profile

Create validator

check your wallet balance:

blockxd query bank balances $BLOCKX_WALLET_ADDRESS

To create your validator run command below

blockxd tx staking create-validator \
  --amount 1000000abcx \
  --from $WALLET \
  --commission-max-change-rate "0.01" \
  --commission-max-rate "0.2" \
  --commission-rate "0.07" \
  --min-self-delegation "1" \
  --pubkey  $(blockxd tendermint show-validator) \
  --moniker $NODENAME \
  --chain-id $BLOCKX_CHAIN_ID\
  --gas auto \
  --fees=2000abcx 

Check your validator key

[[ $(blockxd q staking validator $BLOCKX_VALOPER_ADDRESS -oj | jq -r .consensus_pubkey.key) = $(blockxd status | jq -r .ValidatorInfo.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

blockxd 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 blockxd -o cat

Start service

sudo systemctl start blockxd

Stop service

sudo systemctl stop blockxd

Restart service

sudo systemctl restart blockxd

Node info

Synchronization info

blockxd status 2>&1 | jq .SyncInfo

Validator info

blockxd status 2>&1 | jq .ValidatorInfo

Node info

blockxd status 2>&1 | jq .NodeInfo

Show node id

blockxd tendermint show-node-id

Wallet operations

List of wallets

blockxd keys list

Recover wallet

blockxd keys add $WALLET --recover

Delete wallet

blockxd keys delete $WALLET

Get wallet balance

blockxd query bank balances $BLOCKX_WALLET_ADDRESS

Transfer funds

blockxd tx bank send $BLOCKX_WALLET_ADDRESS <TO_BLOCKX_WALLET_ADDRESS> 1000000abcx

Voting

blockxd tx gov vote 1 yes --from $WALLET --chain-id=$BLOCKX_CHAIN_ID

Staking, Delegation and Rewards

Delegate stake

blockxd tx staking delegate $BLOCKX_VALOPER_ADDRESS 1000000abcx --from=$WALLET --chain-id=$BLOCKX_CHAIN_ID --gas=auto

Redelegate stake from validator to another validator

blockxd tx staking redelegate <srcValidatorAddress> <destValidatorAddress> 1000000abcx --from=$WALLET --chain-id=$BLOCKX_CHAIN_ID --gas=auto

Withdraw all rewards

blockxd tx distribution withdraw-all-rewards --from=$WALLET --chain-id=$BLOCKX_CHAIN_ID --gas=auto

Withdraw rewards with commision

blockxd tx distribution withdraw-rewards $BLOCKX_VALOPER_ADDRESS --from=$WALLET --commission --chain-id=$BLOCKX_CHAIN_ID

Validator management

Edit validator

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

Unjail validator

blockxd tx slashing unjail \
  --broadcast-mode=block \
  --from=$WALLET \
  --chain-id=$BLOCKX_CHAIN_ID \
  --gas=auto
PreviousState SyncNextBluzelle

Last updated 1 year ago