Dash

Dash

Dash can be accessed with the following coin types:

EnvironmentCoin TypeFaucet
Dash Productiondash
Dash Testnettdashhttps://faucet.testnet.networks.dash.org/

Explorer

https://chainz.cryptoid.info/dash/

Generating wallets

1 2 3 4 5 6 7 8 9 10 11 bitgo .coin('tdash') .wallets() .generateWallet({ label: 'My Test Wallet', passphrase: 'secretpassphrase1a5df8380e0e30', }) .then(function (wallet) { // print the new wallet console.dir(wallet); });
1 2 3 4 5 6 7 8 LABEL="My Test Wallet" PASSPHRASE="secretpassphrase1a5df8380e0e30" curl -X POST \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $ACCESS_TOKEN" \ -d "{ \"label\": \"$LABEL\", \"passphrase\": \"$PASSPHRASE\" }" \ http://$BITGO_EXPRESS_HOST:3080/api/v2/tdash/wallet/generate

For Dash, BitGo uses the same 2-of-3 multisig P2SH scheme as for Bitcoin, with the keys in the order of User, Backup and BitGo respectively.

Creating addresses

1 2 3 4 5 6 7 8 9 10 11 bitgo .coin('tdash') .wallets() .getWallet({ id: '585c51a5df8380e0e3082e46' }) .then(function (wallet) { return wallet.createAddress(); }) .then(function (newAddress) { // print new address details console.dir(newAddress); });
1 2 3 4 5 WALLET=585c51a5df8380e0e3082e46 curl -X POST \ -H "Authorization: Bearer $ACCESS_TOKEN" \ https://app.bitgo-test.com/api/v2/tdash/wallet/$WALLET/address

Note: To view all supported address types and chain codes, see Address Types. Dash defaults to chain code 0 and doesn't support SegWit address types.

Balances

Dash (DASH) is the native asset of the Dash blockchain. The base unit of Dash is duff:

  • 1 duff is (10-8) or 0.00000001 Dash.
  • 1 Dash is (108) or 100000000 duffs (100 million).

Balances are supported in string and number format but string is recommended to ensure values do not exceed the programmable number limit: balanceString, confirmedBalanceString, and spendableBalanceString.

Dash InstantSend

Dash InstantSend is a extension allowing instant on-chain Dash payments.

Dash masternodes provide near instant certainty (before an on-chain confirmation) that a transaction's inputs cannot be respent, and that the transaction will be included in a following block instead of a conflicting transaction.

Dash InstantSend receiving and sending support is exposed through the instant flag on Transfer objects and sending APIs.

Dash InstantSend transactions require higher than normal fees. When the instant flag is set to true, these fees are automatically calculated when building a transaction and enforced when sending.