diff options
Diffstat (limited to 'src/js/bitcoinjs-extensions.js')
-rw-r--r-- | src/js/bitcoinjs-extensions.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/js/bitcoinjs-extensions.js b/src/js/bitcoinjs-extensions.js index 4536783..0d58bb9 100644 --- a/src/js/bitcoinjs-extensions.js +++ b/src/js/bitcoinjs-extensions.js | |||
@@ -1738,3 +1738,16 @@ bitcoinjs.bitcoin.networks.elastos = { | |||
1738 | scriptHash: 0xc4, // TODO set this correctly, same as BTC for now | 1738 | scriptHash: 0xc4, // TODO set this correctly, same as BTC for now |
1739 | wif: 0xef // TODO set this correctly, same as BTC for now | 1739 | wif: 0xef // TODO set this correctly, same as BTC for now |
1740 | }; | 1740 | }; |
1741 | |||
1742 | // https://github.com/bitcoinjs/bitcoinjs-lib/blob/3f6f5ef97a1ee1b8337865209282c0095e22b2e7/src/networks.js | ||
1743 | bitcoinjs.bitcoin.networks.regtest = { | ||
1744 | messagePrefix: '\x18Bitcoin Signed Message:\n', | ||
1745 | bech32: 'bcrt', | ||
1746 | bip32: { | ||
1747 | public: 0x043587cf, | ||
1748 | private: 0x04358394, | ||
1749 | }, | ||
1750 | pubKeyHash: 0x6f, | ||
1751 | scriptHash: 0xc4, | ||
1752 | wif: 0xef, | ||
1753 | }; | ||