aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriancoleman <1281387+iancoleman@users.noreply.github.com>2018-08-29 09:02:50 +1000
committerGitHub <noreply@github.com>2018-08-29 09:02:50 +1000
commit23183e61af99b520773b0ddce414ec637ecff890 (patch)
tree2f068181fff436e8f06ad0bab1d66f0b6546f25b
parente76cd8fbf32e3b76158dc59ca6d018591a6032eb (diff)
parent04ec88af5cb78f3ee5cff20a183e792d972ef3fb (diff)
downloadBIP39-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.js12
-rw-r--r--src/js/index.js7
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
498bitcoinjs.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
498bitcoinjs.bitcoin.networks.clubcoin = { 509bitcoinjs.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
1037bitcoinjs.bitcoin.networks.salus = {
1026messagePrefix: '\x18Salus Signed Message:\n', 1038messagePrefix: '\x18Salus Signed Message:\n',
1027bip32: { 1039bip32: {
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;