aboutsummaryrefslogtreecommitdiff
path: root/src/js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js')
-rw-r--r--src/js/bitcoinjs-extensions.js22
-rw-r--r--src/js/index.js14
-rw-r--r--src/js/segwit-parameters.js25
3 files changed, 61 insertions, 0 deletions
diff --git a/src/js/bitcoinjs-extensions.js b/src/js/bitcoinjs-extensions.js
index d1073aa..5ba584e 100644
--- a/src/js/bitcoinjs-extensions.js
+++ b/src/js/bitcoinjs-extensions.js
@@ -1441,3 +1441,25 @@ bitcoinjs.bitcoin.networks.phore = {
1441 scriptHash: 0x0D, 1441 scriptHash: 0x0D,
1442 wif: 0xD4, 1442 wif: 0xD4,
1443}; 1443};
1444
1445bitcoinjs.bitcoin.networks.blocknode = {
1446 messagePrefix: '\x18Blocknode Signed Message:\n',
1447 bip32: {
1448 public: 0x0488b21e,
1449 private: 0x0488ade4
1450 },
1451 pubKeyHash: 0x19,
1452 scriptHash: 0x3F,
1453 wif: 0x4b,
1454};
1455
1456bitcoinjs.bitcoin.networks.blocknode_testnet = {
1457 messagePrefix: '\x18Blocknode Testnet Signed Message:\n',
1458 bip32: {
1459 public: 0x043587cf,
1460 private: 0x04358394
1461 },
1462 pubKeyHash: 0x55,
1463 scriptHash: 0x7d,
1464 wif: 0x89,
1465}; \ No newline at end of file
diff --git a/src/js/index.js b/src/js/index.js
index 6b292f5..8322115 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -1703,6 +1703,20 @@
1703 }, 1703 },
1704 }, 1704 },
1705 { 1705 {
1706 name: "BND - Blocknode",
1707 onSelect: function() {
1708 network = bitcoinjs.bitcoin.networks.blocknode;
1709 setHdCoin(2941);
1710 },
1711 },
1712 {
1713 name: "tBND - Blocknode Testnet",
1714 onSelect: function() {
1715 network = bitcoinjs.bitcoin.networks.blocknode_testnet;
1716 setHdCoin(1);
1717 },
1718 },
1719 {
1706 name: "BRIT - Britcoin", 1720 name: "BRIT - Britcoin",
1707 onSelect: function() { 1721 onSelect: function() {
1708 network = bitcoinjs.bitcoin.networks.britcoin; 1722 network = bitcoinjs.bitcoin.networks.britcoin;
diff --git a/src/js/segwit-parameters.js b/src/js/segwit-parameters.js
index dbb7572..8a3557e 100644
--- a/src/js/segwit-parameters.js
+++ b/src/js/segwit-parameters.js
@@ -184,4 +184,29 @@ bitcoinjs.bitcoin.networks.digibyte.p2wpkhInP2sh = {
184 scriptHash: 0x3f, 184 scriptHash: 0x3f,
185 wif: 0x80 185 wif: 0x80
186}; 186};
187 bitcoinjs.bitcoin.networks.deimos.p2wpkh = {
188 baseNetwork: "deimos",
189 messagePrefix: '\x18Deimos Signed Message:\n',
190 bech32: 'dei',
191 bip32: {
192 public: 0x0488B21E,
193 private: 0x0488ADE4
194 },
195 pubKeyHash: 0x1f,
196 scriptHash: 0x21,
197 wif: 0x8a
198};
199
200bitcoinjs.bitcoin.networks.deimos.p2wpkhInP2sh = {
201 baseNetwork: "deimos",
202 messagePrefix: '\x18Deimos Signed Message:\n',
203 bech32: 'dei',
204 bip32: {
205 public: 0x0488B21E,
206 private: 0x0488ADE4
207 },
208 pubKeyHash: 0x1f,
209 scriptHash: 0x21,
210 wif: 0x8a
211};
187})(); 212})();