Linux command
dogecoincore 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Start the Dogecoin daemon
dogecoind -daemon
Get blockchain info
dogecoin-cli getblockchaininfo
Get wallet balance
dogecoin-cli getbalance
Send Dogecoin to an address
dogecoin-cli sendtoaddress "[address]" [amount]
Stop the daemon
dogecoin-cli stop
说明
Dogecoin Core consists of dogecoind, the full node daemon that validates and relays transactions on the Dogecoin network, and dogecoin-cli, a command-line client for interacting with the daemon via JSON-RPC. The CLI supports wallet operations (sending, receiving, balance queries), blockchain queries, network management, and mining controls. Configuration is stored in dogecoin.conf.
参数
- -daemon
- Run dogecoind in the background as a daemon.
- -testnet
- Use the test network.
- -datadir _DIR_
- Specify data directory.
- -conf _FILE_
- Specify configuration file.
- -rpcuser _USER_
- Username for JSON-RPC connections.
- -rpcpassword _PASS_
- Password for JSON-RPC connections.
- -rpcport _PORT_
- Listen for JSON-RPC connections on this port.
- -help
- Display help information.
- -version
- Display version information.
FAQ
What is the dogecoincore command used for?
Dogecoin Core consists of dogecoind, the full node daemon that validates and relays transactions on the Dogecoin network, and dogecoin-cli, a command-line client for interacting with the daemon via JSON-RPC. The CLI supports wallet operations (sending, receiving, balance queries), blockchain queries, network management, and mining controls. Configuration is stored in dogecoin.conf.
How do I run a basic dogecoincore example?
Run `dogecoind -daemon` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -daemon do in dogecoincore?
Run dogecoind in the background as a daemon.