← 返回命令列表

Linux command

hsd-cli 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Show wallet info

hsd-cli wallet get

Generate address

hsd-cli wallet createaddress

Send coins

hsd-cli wallet send [address] [amount]

Show balance

hsd-cli wallet balance

Query name

hsd-cli rpc getnameinfo [name]

说明

hsd-cli is the command-line interface for the Handshake daemon (hsd). Handshake is a decentralized naming protocol compatible with DNS where top-level domains are registered on a blockchain. The tool interacts with the hsd node server for blockchain queries and name operations. For wallet-specific operations, the companion tool hsw-cli communicates with the wallet server. RPC commands are available via `hsd-cli rpc <command>`.

参数

wallet
Wallet operations.
rpc
RPC method calls.
--url _URL_
Node URL.
--api-key _KEY_
API key.
--network _NETWORK_
Network to use (main, testnet, regtest, simnet).
--wallet _ID_
Wallet ID.
--help
Display help information.

FAQ

What is the hsd-cli command used for?

hsd-cli is the command-line interface for the Handshake daemon (hsd). Handshake is a decentralized naming protocol compatible with DNS where top-level domains are registered on a blockchain. The tool interacts with the hsd node server for blockchain queries and name operations. For wallet-specific operations, the companion tool hsw-cli communicates with the wallet server. RPC commands are available via `hsd-cli rpc <command>`.

How do I run a basic hsd-cli example?

Run `hsd-cli wallet get` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does wallet do in hsd-cli?

Wallet operations.