diff options
author | jestevez <jose.estevez.prieto@gmail.com> | 2017-11-30 20:42:49 +0100 |
---|---|---|
committer | jestevez <jose.estevez.prieto@gmail.com> | 2017-11-30 20:42:49 +0100 |
commit | 66419cf39c76e60f1b7db419dd1d88f7b221cdbb (patch) | |
tree | 904e2350891bbc005045e3a4df68d3cbb96213d1 /src | |
parent | 26dd39fd0e5f77475a8feb64cc65f759985c2752 (diff) | |
download | BIP39-66419cf39c76e60f1b7db419dd1d88f7b221cdbb.tar.gz BIP39-66419cf39c76e60f1b7db419dd1d88f7b221cdbb.tar.zst BIP39-66419cf39c76e60f1b7db419dd1d88f7b221cdbb.zip |
Add ONX (Onixcoin)
Diffstat (limited to 'src')
-rw-r--r-- | src/js/bitcoinjs-extensions.js | 12 | ||||
-rw-r--r-- | src/js/index.js | 8 |
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 | |||
211 | bitcoinjs.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 | |||
210 | bitcoinjs.bitcoin.networks.pivx = { | 222 | bitcoinjs.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() { |