aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/js/bitcoinjs-extensions.js12
-rw-r--r--src/js/index.js8
2 files changed, 20 insertions, 0 deletions
diff --git a/src/js/bitcoinjs-extensions.js b/src/js/bitcoinjs-extensions.js
index 1509a6c..e29714b 100644
--- a/src/js/bitcoinjs-extensions.js
+++ b/src/js/bitcoinjs-extensions.js
@@ -207,6 +207,18 @@ bitcoinjs.bitcoin.networks.myriadcoin = {
207 wif: 0xb2 207 wif: 0xb2
208}; 208};
209 209
210
211bitcoinjs.bitcoin.networks.onixcoin = {
212 messagePrefix: 'unused',
213 bip32: {
214 public: 0x049d7cb2,
215 private: 0x049d7878
216 },
217 pubKeyHash: 0x4B,
218 scriptHash: 0x05,
219 wif: 0x80
220};
221
210bitcoinjs.bitcoin.networks.pivx = { 222bitcoinjs.bitcoin.networks.pivx = {
211 messagePrefix: 'unused', 223 messagePrefix: 'unused',
212 bip32: { 224 bip32: {
diff --git a/src/js/index.js b/src/js/index.js
index c148d9c..d622641 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -1514,6 +1514,14 @@
1514 }, 1514 },
1515 }, 1515 },
1516 { 1516 {
1517 name: "ONX - Onixcoin",
1518 segwitAvailable: false,
1519 onSelect: function() {
1520 network = bitcoinjs.bitcoin.networks.onixcoin;
1521 setHdCoin(99);
1522 },
1523 },
1524 {
1517 name: "PIVX - PIVX", 1525 name: "PIVX - PIVX",
1518 segwitAvailable: false, 1526 segwitAvailable: false,
1519 onSelect: function() { 1527 onSelect: function() {