These docs are for v0.17.0. Click to read the latest docs for v19.0.0-redirect.

Arguments and Commands

Overview

All command-line options (except for -conf) may be specified in a configuration file, and all configuration file options may also be specified on the command line. Command-line options override values set in the configuration file. The configuration file is a list of <setting>=<value> pairs, one per line, with optional comments starting with the # character.

The configuration file is not automatically created; you can create it using your favorite plain-text editor. By default, dash-qt (or dashd) will look for a file named dash.conf in the Dash data directory, but both the data directory and the configuration file path may be changed using the -datadir and -conf command-line arguments.

PlatformPath to data folderTypical path to configuration file
Linux~//home/username/.dashcore/dash.conf
macOS~/Library/Application Support//Users/username/Library/Application Support/DashCore/dash.conf
Windows%APPDATA%(Vista-10) C:\Users\username\AppData\Roaming\DashCore\dash.conf
Windows%APPDATA%(2000-XP) C:\Documents and Settings\username\Application Data\DashCore\dash.conf

📘

Testnet/Devnet modes

Note: if running Dash in testnet mode, the sub-folder testnet3 will be appended to the data directory automatically. Likewise, if running in devnet mode, the subfolder devnet-"devnet name" will be appended to the data directory.

Command Line Arguments

The following sections provide details of the command line arguments for each of the four components distributed in Dash Core releases.

ComponentDescription
dashdDash Core daemon
dash-qtDash Core wallet GUI
dash-cliDash Core RPC Client
dash-txDash Core transaction utility

dashd

See here for all option details.

Usage:
  dashd [options]                     Start Dash Core Daemon

dash-qt

See here for all option details.

Usage:
  dash-qt [command-line options]                     

dash-cli

See here for all option details.

Usage:
  dash-cli [options] <command> [params]  Send command to Dash Core
  dash-cli [options] -named <command> [name=value] ... Send command to Dash Core (with named arguments)
  dash-cli [options] help                List commands
  dash-cli [options] help <command>      Get help for a command

dash-tx

See here for all option details.

Usage:
  dash-tx [options] <hex-tx> [commands]  Update hex-encoded dash transaction
  dash-tx [options] -create [commands]   Create hex-encoded dash transaction