dcrctl Usage

dcrctl provides a way to control both the daemon dcrd and the wallet dcrwallet using the json rpc interface without actually writing json.

To simplify the examples we will assume that you have all password stored in the config files.

Stopping the programs

To cleanly shut down the programs:

dcrctl --wallet stop
dcrctl stop

Finding the current block height

dcrctl getblockcount

See your balance

dcrctl --wallet getbalance

Get a new address

dcrctl --wallet getnewaddress

Send funds to an address

dcrctl --wallet sendtoaddress <address> <amount>