diff options
Diffstat (limited to 'src/js')
-rw-r--r-- | src/js/bitcoinjs-extensions.js | 13 | ||||
-rw-r--r-- | src/js/index.js | 7 |
2 files changed, 19 insertions, 1 deletions
diff --git a/src/js/bitcoinjs-extensions.js b/src/js/bitcoinjs-extensions.js index f07eacf..16e9385 100644 --- a/src/js/bitcoinjs-extensions.js +++ b/src/js/bitcoinjs-extensions.js | |||
@@ -1537,4 +1537,15 @@ bitcoinjs.bitcoin.networks.blockstamp = { | |||
1537 | pubKeyHash: 0x00, | 1537 | pubKeyHash: 0x00, |
1538 | scriptHash: 0x05, | 1538 | scriptHash: 0x05, |
1539 | wif: 0x80, | 1539 | wif: 0x80, |
1540 | }; \ No newline at end of file | 1540 | }; |
1541 | |||
1542 | bitcoinjs.bitcoin.networks.deeponion = { | ||
1543 | messagePrefix: 'x18DeepOnion Signed Message:\n', | ||
1544 | bip32: { | ||
1545 | public: 0x0488B21E, | ||
1546 | private: 0x0488ADE4, | ||
1547 | }, | ||
1548 | pubKeyHash: 0x1F, | ||
1549 | scriptHash: 0x4E, | ||
1550 | wif: 0x9F, | ||
1551 | }; | ||
diff --git a/src/js/index.js b/src/js/index.js index 6085f1b..88b1e09 100644 --- a/src/js/index.js +++ b/src/js/index.js | |||
@@ -2369,6 +2369,13 @@ | |||
2369 | }, | 2369 | }, |
2370 | }, | 2370 | }, |
2371 | { | 2371 | { |
2372 | name: "ONION - DeepOnion", | ||
2373 | onSelect: function() { | ||
2374 | network = bitcoinjs.bitcoin.networks.deeponion; | ||
2375 | setHdCoin(305); | ||
2376 | }, | ||
2377 | }, | ||
2378 | { | ||
2372 | name: "ONX - Onixcoin", | 2379 | name: "ONX - Onixcoin", |
2373 | onSelect: function() { | 2380 | onSelect: function() { |
2374 | network = bitcoinjs.bitcoin.networks.onixcoin; | 2381 | network = bitcoinjs.bitcoin.networks.onixcoin; |