-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Create a new address:
dash-cli -testnet getnewaddress
Get a list of all* addresses:
dash-cli -testnet getaddressesbylabel '' | jq -r 'keys[]'
* Obviously if you actually use labels (such as in the GUI), this won't give you all addresses.
Get a list of used addresses:
dash-cli -testnet listaddressbalances | jq -r 'keys[]'
Get a list of unused addresses:
dash-cli -testnet getaddressesbylabel '' |
jq -r 'keys[]' |
xargs -I % sh -c '
printf %:
dash-cli -testnet getaddresstxids "{\"addresses\":[\"%\"]}" |
jq -c
'
Load an address
Send 1.0 DASH to an Address
dash-cli -testnet sendtoaddress "${address}" 1.0
Get the Private Key
dash-cli -testnet dumpprivkey "${address}" > "${address}.wif"
Metadata
Metadata
Assignees
Labels
No labels