Node Docs
Product DocsTechnical DocsLearning & GovernanceUseful Links
  • Node documentation for cheqd network
  • 👉Getting Started
    • Setup a new cheqd node
      • Pre-Requisites & Requirements
      • (Alternative) Install with Docker
      • Configure cosmovisor
    • Command Line usage
      • Manage keys
      • Manage accounts
      • Manage a node
      • Make transactions
      • Use fee abstraction
  • 🏦Validator Guides
    • Guide for validators
      • FAQs for validators
      • Optimising disk storage with pruning
      • Troubleshooting consistently high CPU/memory loads
      • Unjailing a jailed validator
      • Move validator to a different machine
      • Backup and restore node keys with Hashicorp Vault
    • Network-wide Software Upgrades
      • Upgrade Guides
        • Upgrade to v0.6.x
        • Upgrade to v2.x (with Ubuntu 24.04 LTS upgrade)
        • Upgrade to v3.x
        • Upgrade to v3.1.x
      • Creating a software upgrade proposal
      • Upgrade Process
  • 🧑‍💻Developing on cheqd
    • Building from source
      • Build with Docker
      • Run a localnet with Docker
    • Indexers
      • SubQuery
  • Architecture
    • Architecture Decision Record (ADR) Process
    • Identity ADRs
    • List of ADRs
      • ADR 001: Payment mechanism for issuing credentials
      • ADR 002: Importing/exporting mnemonic keys from Cosmos
      • ADR 003: Command Line Interface (CLI) tools
      • ADR 004: Token fractions
      • ADR 005: Genesis parameters
      • ADR 006: Community tax
      • ADR 007: Revocation registry
      • ADR 011: AnonCreds
      • ADR Template
  • 🤝Contributing to cheqd
    • Contributor Guide
    • License
    • Code of Conduct
    • Security Policy
  • 🆘Support
    • System Status
    • Slack Channel
    • Discord
Powered by GitBook
LogoLogo

General

  • Website
  • Blog
  • Get $CHEQ

Product Docs

  • Product Docs
  • cheqd Studio
  • Creds.xyz

Technical Docs

  • Node Docs
  • GitHub
  • Block Explorer

Learning Docs

  • Learning Docs
  • Governance Docs
  • Governance Forum
  • Governance Explorer
On this page
  • Overview
  • Node-related commands in cheqd CLI
  • Starting a node
  • Getting node ID / node address
  • Get validator address
  • Getting validator public key
  • Sharing peer information

Was this helpful?

Edit on GitHub
Export as PDF
  1. Getting Started
  2. Command Line usage

Manage a node

Last updated 8 months ago

Was this helpful?

Overview

A cheqd-node instance can be controlled and configured using the .

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

cheqd-noded start

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:

cheqd-noded tendermint show-node-id

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:

$ cheqd-noded tendermint show-address
cheqdvalcons1sg4azh7qwk6akm0eadkgvgq2kegtzksr09a685

There are several ways to get hex-encoded validator address:

  1. Convert from bech32

    cheqd-noded keys parse <bech-32-encoded-address>
  2. Query node using CLI:

    cheqd-noded status

    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:

$ cheqd-noded tendermint show-validator

{"@type":"/cosmos.crypto.ed25519.PubKey","key":"y8v/nsf+VFCnJ7c9ZM/C4tUMnWKHhU+K+B82B+5vUZg="}

Sharing peer information

Peer info is used to connect to peers when setting up a new node. It has the following format:

<node-id>@<node-url>

Example:

ba1689516f45be7f79c7450394144711e02e7341@3.13.19.41:26656

Using this information other participants will be able to join your node.

👉
cheqd Cosmos CLI