Manage a node
Overview
A cheqd-node
instance can be controlled and configured using the cheqd Cosmos CLI.
This document contains the commands for node operators that relate to node management, configuration, and status.
Node-related commands in cheqd CLI
Starting a node
Getting node ID / node address
Node ID or node address is a part of peer info. It's calculated from node's pubKey
as hex(address(nodePubKey))
. To get node id
run the following command on the node's machine:
Get validator address
Validator address is a function of validator's public key. To get bech32
encoded validator address run this command on node's machine:
There are several ways to get hex-encoded validator address:
Convert from bech32
Query node using CLI:
Look for
"ValidatorInfo":{"Address":"..."}
Getting validator public key
Validator public key is used in create-validator
transactions. To get bech32
encoded validator public key, run the following command on the node's machine:
Sharing peer information
Peer info is used to connect to peers when setting up a new node. It has the following format:
Example:
Using this information other participants will be able to join your node.
Last updated