<p>Yes.  This <strong><a href="https://github.com/libbitcoin/libbitcoin-system/wiki/Altcoin-Version-Mappings#bip44-altcoin-version-mapping-table" rel="nofollow noreferrer">Table</a></strong> will be very useful for techies. The application of version numbers in the referenced table are used to compute prefixes for various private keys for numerous alts.  The file references to the far right of the table should be correct.  However, the line numbers have surely changed during the last 3 years. Then also look at the 1st column of the lower table you referenced. </p>

<p>Here is how the referenced libbitcoin table can be utilized for Dash. Let's assume the DASH secp256k1 private key is one of the worst private keys possible in hexadecimal format is </p>

<p><em>0000111122223333444455556666777788889999aaaabbbbccccddddeeeeffff</em> </p>

<p>and its associated hexadecimal compressed public key can be calculated simply with:</p>

<p><code>% echo "0000111122223333444455556666777788889999aaaabbbbccccddddeeeeffff" | bx ec-to-public</code></p>

<p><em>020d47568a5e517067a2836c3823fbc58169a7662bfae934a4d41da3e23c98d816</em></p>

<p><strong>Associated Compressed Wallet Input Format (WIF) Private Key:</strong></p>

<p><code>% echo "0000111122223333444455556666777788889999aaaabbbbccccddddeeeeffff" | sed 's/$/01/' | bx base58check-encode -v 204</code></p>

<p><em>XBHdfdHC4YocfzyfuFRx3DxjmvFJmK3txDh3zXk29GxpMWaWfDKL</em></p>

<p><strong>Associated Wallet Input Format (WIF) Private Key:</strong></p>

<p><code>% echo "0000111122223333444455556666777788889999aaaabbbbccccddddeeeeffff" | bx base58check-encode -v 204</code></p>

<p><em>7qYrzgwRFrM5TWSyqzeNXs4ZoRka2Rw8EsTHzSYVojawgYVzSH5</em></p>

<p><strong>Associated Compressed Pay to Public Key Hash (P2PKH) Address:</strong></p>

<p><code>% echo "0000111122223333444455556666777788889999aaaabbbbccccddddeeeeffff" | bx ec-to-public | bx ec-to-address -v 76</code></p>

<p><em>XyHHinPZB5Q4FC9jtbksaQBJmXq48gtVGb</em></p>

<p>where: bx ec-to-address -v 76  ==  bx sha256 | bx ripemd160 | bx base58check-encode -v 76</p>

<p><strong>Associated Uncompressed Pay to Public Key Hash (P2PKH) Address:</strong></p>

<p><code>% echo "0000111122223333444455556666777788889999aaaabbbbccccddddeeeeffff" | bx ec-to-public -u | bx ec-to-address -v 76</code></p>

<p><em>XwxeKFtAXa9wGvX4QijQxz2yC4hMzfAa13</em></p>

<p><strong>An Associated Simple Pay to Script Hash (P2SH) Address:</strong></p>

<p><code>% echo "[020d47568a5e517067a2836c3823fbc58169a7662bfae934a4d41da3e23c98d816] checksig" | bx script-to-address -v 16</code></p>

<p><em>7fePc8Mf7RYghdxkSp5yaWfT9WR4F2Dsqa</em></p>

<p>where: bx script-to-address -v 16  ==  bx script-encode | bx sha256 | bx ripemd160 | bx base58check-encode -v 16</p>

CC BY-SA 4.0
2019-01-10T17:01:31.367Z
2019-01-10T17:01:31.367Z
skaht
<p>The version bytes commonly used by <a href="https://dash-docs.github.io/en/developer-reference#address-conversion" rel="nofollow noreferrer">Dash</a> are:</p>

<pre><code>   0x4c for P2PKH addresses on the main Dash network (mainnet)
   0x8c for P2PKH addresses on the Dash testing network (testnet)
   0x10 for P2SH addresses on mainnet
   0x13 for P2SH addresses on testnet
</code></pre>

CC BY-SA 4.0
2019-01-14T11:18:41.767Z
2019-01-14T11:18:41.767Z
iPC
<p>Is there any list of Dash constants available? Something like <a href="https://en.bitcoin.it/wiki/List_of_address_prefixes" rel="nofollow noreferrer">Bitcoin list of address prefixes</a></p>

<dash>
Dash constants and prefixes
iPC
# Dash constants and prefixes

(Asked by: username_0 on 2019-01-09)

Is there any list of Dash constants available? Something like [Bitcoin list of address prefixes](https://en.bitcoin.it/wiki/List_of_address_prefixes)

**Tags:** dash


---

## 2 answers

### Answer by username_1 on 2019-01-10. Score: 0 | Accepted answer

Yes. This **[Table](https://github.com/libbitcoin/libbitcoin-system/wiki/Altcoin-Version-Mappings#bip44-altcoin-version-mapping-table)** will be very useful for techies. The application of version numbers in the referenced table are used to compute prefixes for various private keys for numerous alts. The file references to the far right of the table should be correct. However, the line numbers have surely changed during the last 3 years. Then also look at the 1st column of the lower table you referenced.

Here is how the referenced libbitcoin table can be utilized for Dash. Let's assume the DASH secp256k1 private key is one of the worst private keys possible in hexadecimal format is

*0000111122223333444455556666777788889999aaaabbbbccccddddeeeeffff*

and its associated hexadecimal compressed public key can be calculated simply with:

`% echo "0000111122223333444455556666777788889999aaaabbbbccccddddeeeeffff" | bx ec-to-public`

*020d47568a5e517067a2836c3823fbc58169a7662bfae934a4d41da3e23c98d816*

**Associated Compressed Wallet Input Format (WIF) Private Key:**

`% echo "0000111122223333444455556666777788889999aaaabbbbccccddddeeeeffff" | sed 's/$/01/' | bx base58check-encode -v 204`

*XBHdfdHC4YocfzyfuFRx3DxjmvFJmK3txDh3zXk29GxpMWaWfDKL*

**Associated Wallet Input Format (WIF) Private Key:**

`% echo "0000111122223333444455556666777788889999aaaabbbbccccddddeeeeffff" | bx base58check-encode -v 204`

*7qYrzgwRFrM5TWSyqzeNXs4ZoRka2Rw8EsTHzSYVojawgYVzSH5*

**Associated Compressed Pay to Public Key Hash (P2PKH) Address:**

`% echo "0000111122223333444455556666777788889999aaaabbbbccccddddeeeeffff" | bx ec-to-public | bx ec-to-address -v 76`

*XyHHinPZB5Q4FC9jtbksaQBJmXq48gtVGb*

where: bx ec-to-address -v 76 == bx sha256 | bx ripemd160 | bx base58check-encode -v 76

**Associated Uncompressed Pay to Public Key Hash (P2PKH) Address:**

`% echo "0000111122223333444455556666777788889999aaaabbbbccccddddeeeeffff" | bx ec-to-public -u | bx ec-to-address -v 76`

*XwxeKFtAXa9wGvX4QijQxz2yC4hMzfAa13*

**An Associated Simple Pay to Script Hash (P2SH) Address:**

`% echo "[020d47568a5e517067a2836c3823fbc58169a7662bfae934a4d41da3e23c98d816] checksig" | bx script-to-address -v 16`

*7fePc8Mf7RYghdxkSp5yaWfT9WR4F2Dsqa*

where: bx script-to-address -v 16 == bx script-encode | bx sha256 | bx ripemd160 | bx base58check-encode -v 16


---

### Answer by username_0 on 2019-01-14. Score: 0

The version bytes commonly used by Dash are:
   0x4c for P2PKH addresses on the main Dash network (mainnet)
   0x8c for P2PKH addresses on the Dash testing network (testnet)
   0x10 for P2SH addresses on mainnet
   0x13 for P2SH addresses on testnet


---

