diff options
Diffstat (limited to 'src/js/bitcoinjs-extensions.js')
-rw-r--r-- | src/js/bitcoinjs-extensions.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/js/bitcoinjs-extensions.js b/src/js/bitcoinjs-extensions.js index 17475b1..7446bd7 100644 --- a/src/js/bitcoinjs-extensions.js +++ b/src/js/bitcoinjs-extensions.js | |||
@@ -1739,6 +1739,17 @@ libs.bitcoin.networks.elastos = { | |||
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 | 1741 | ||
1742 | libs.bitcoin.networks.sugarchain = { | ||
1743 | messagePrefix: '\x18Sugarchain Signed Message:\n', | ||
1744 | bip32: { | ||
1745 | public: 0x0488B21E, | ||
1746 | private: 0x0488ADE4, | ||
1747 | }, | ||
1748 | pubKeyHash: 0x3f, | ||
1749 | scriptHash: 0x7d, | ||
1750 | wif: 0x80 | ||
1751 | }; | ||
1752 | |||
1742 | // https://github.com/libs.bitcoinjs-lib/blob/3f6f5ef97a1ee1b8337865209282c0095e22b2e7/src/networks.js | 1753 | // https://github.com/libs.bitcoinjs-lib/blob/3f6f5ef97a1ee1b8337865209282c0095e22b2e7/src/networks.js |
1743 | libs.bitcoin.networks.regtest = { | 1754 | libs.bitcoin.networks.regtest = { |
1744 | messagePrefix: '\x18Bitcoin Signed Message:\n', | 1755 | messagePrefix: '\x18Bitcoin Signed Message:\n', |