Forrest logo
back to the hsd-cli tool

hsd-cli:tldr:94a56

hsd-cli: Retrieve information about the current server.
$ hsd-cli info
try on your machine

The command "hsd-cli info" is used to retrieve specific information about the Handshake (HNS) daemon running on a local or remote machine.

Handshake is a decentralized, blockchain-based naming protocol that aims to provide a secure and decentralized alternative to the Domain Name System (DNS). The hsd-cli utility is a command-line interface (CLI) tool to interact with the Handshake daemon (hsd).

When you run the "hsd-cli info" command, it sends a request to the Handshake daemon to fetch general information about the blockchain and the current state of the node. This information typically includes:

  1. Network-related details: It displays the network version, the current number of peers connected to the node, and the height of the blockchain the node is synchronized with.

  2. Chain information: It provides the chain ID, which is an identifier for the Handshake network, as well as the difficulty and hash of the last mined block.

  3. Memory pool details: It shows the number of transactions in the memory pool, including both valid and invalid ones.

  4. Wallet information: If you have a Handshake wallet set up and open, the command will display the current balance and the number of transactions associated with your wallet.

By using the "hsd-cli info" command, you can quickly obtain essential information about the Handshake network and the local node's status, which may assist in monitoring, managing, or troubleshooting the Handshake daemon.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the hsd-cli tool