diff options
author | iancoleman <1281387+iancoleman@users.noreply.github.com> | 2018-08-29 09:02:50 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-29 09:02:50 +1000 |
commit | 23183e61af99b520773b0ddce414ec637ecff890 (patch) | |
tree | 2f068181fff436e8f06ad0bab1d66f0b6546f25b | |
parent | e76cd8fbf32e3b76158dc59ca6d018591a6032eb (diff) | |
parent | 04ec88af5cb78f3ee5cff20a183e792d972ef3fb (diff) | |
download | BIP39-23183e61af99b520773b0ddce414ec637ecff890.tar.gz BIP39-23183e61af99b520773b0ddce414ec637ecff890.tar.zst BIP39-23183e61af99b520773b0ddce414ec637ecff890.zip |
Merge pull request #245 from VDamas/master
Fixed Salus and added Cryptoescudo
-rw-r--r-- | src/js/bitcoinjs-extensions.js | 12 | ||||
-rw-r--r-- | src/js/index.js | 7 |
2 files changed, 19 insertions, 0 deletions
diff --git a/src/js/bitcoinjs-extensions.js b/src/js/bitcoinjs-extensions.js index 03c7fb0..d3f9847 100644 --- a/src/js/bitcoinjs-extensions.js +++ b/src/js/bitcoinjs-extensions.js | |||
@@ -495,6 +495,17 @@ bitcoinjs.bitcoin.networks.cannacoin = { | |||
495 | wif: 0x9c, | 495 | wif: 0x9c, |
496 | }; | 496 | }; |
497 | 497 | ||
498 | bitcoinjs.bitcoin.networks.cryptoescudo = { | ||
499 | messagePrefix: '\x18Cryptoescudo Signed Message:\n', | ||
500 | bip32: { | ||
501 | public: 0x0488b21e, | ||
502 | private: 0x0488ade4, | ||
503 | }, | ||
504 | pubKeyHash: 0x1c, | ||
505 | scriptHash: 0x05, | ||
506 | wif: 0x9c, | ||
507 | }; | ||
508 | |||
498 | bitcoinjs.bitcoin.networks.clubcoin = { | 509 | bitcoinjs.bitcoin.networks.clubcoin = { |
499 | messagePrefix: '\x18ClubCoin Signed Message:\n', | 510 | messagePrefix: '\x18ClubCoin Signed Message:\n', |
500 | bip32: { | 511 | bip32: { |
@@ -1023,6 +1034,7 @@ bitcoinjs.bitcoin.networks.rubycoin = { | |||
1023 | wif: 0xbc, | 1034 | wif: 0xbc, |
1024 | }; | 1035 | }; |
1025 | 1036 | ||
1037 | bitcoinjs.bitcoin.networks.salus = { | ||
1026 | messagePrefix: '\x18Salus Signed Message:\n', | 1038 | messagePrefix: '\x18Salus Signed Message:\n', |
1027 | bip32: { | 1039 | bip32: { |
1028 | public: 0x0488B21E, | 1040 | public: 0x0488B21E, |
diff --git a/src/js/index.js b/src/js/index.js index 93730ed..2a3e86c 100644 --- a/src/js/index.js +++ b/src/js/index.js | |||
@@ -1766,6 +1766,13 @@ | |||
1766 | }, | 1766 | }, |
1767 | }, | 1767 | }, |
1768 | { | 1768 | { |
1769 | name: "CESC - Cryptoescudo", | ||
1770 | onSelect: function() { | ||
1771 | network = bitcoinjs.bitcoin.networks.cannacoin; | ||
1772 | setHdCoin(111); | ||
1773 | }, | ||
1774 | }, | ||
1775 | { | ||
1769 | name: "CDN - Canadaecoin", | 1776 | name: "CDN - Canadaecoin", |
1770 | onSelect: function() { | 1777 | onSelect: function() { |
1771 | network = bitcoinjs.bitcoin.networks.canadaecoin; | 1778 | network = bitcoinjs.bitcoin.networks.canadaecoin; |