diff options
author | Stoner19 <stoner19@msn.com> | 2018-08-21 13:35:49 -0600 |
---|---|---|
committer | Stoner19 <stoner19@msn.com> | 2018-08-21 13:35:49 -0600 |
commit | 7878bb3295e0204b1917fd37680053641950c6a5 (patch) | |
tree | d52ec4add3364118018fef58c7c41bea693a88ec /src/js | |
parent | 43e5cabfcf2d24182ba19da0d6b0d43c4d70962e (diff) | |
download | BIP39-7878bb3295e0204b1917fd37680053641950c6a5.tar.gz BIP39-7878bb3295e0204b1917fd37680053641950c6a5.tar.zst BIP39-7878bb3295e0204b1917fd37680053641950c6a5.zip |
Salus (SLS) support added
Diffstat (limited to 'src/js')
-rw-r--r-- | src/js/bitcoinjs-extensions.js | 10 | ||||
-rw-r--r-- | src/js/index.js | 7 |
2 files changed, 17 insertions, 0 deletions
diff --git a/src/js/bitcoinjs-extensions.js b/src/js/bitcoinjs-extensions.js index a613000..03c7fb0 100644 --- a/src/js/bitcoinjs-extensions.js +++ b/src/js/bitcoinjs-extensions.js | |||
@@ -1023,6 +1023,16 @@ bitcoinjs.bitcoin.networks.rubycoin = { | |||
1023 | wif: 0xbc, | 1023 | wif: 0xbc, |
1024 | }; | 1024 | }; |
1025 | 1025 | ||
1026 | messagePrefix: '\x18Salus Signed Message:\n', | ||
1027 | bip32: { | ||
1028 | public: 0x0488B21E, | ||
1029 | private: 0x0488ADE4, | ||
1030 | }, | ||
1031 | pubKeyHash: 0x3f, | ||
1032 | scriptHash: 0xc4, | ||
1033 | wif: 0xbf, | ||
1034 | }; | ||
1035 | |||
1026 | bitcoinjs.bitcoin.networks.smileycoin = { | 1036 | bitcoinjs.bitcoin.networks.smileycoin = { |
1027 | messagePrefix: '\x18Smileycoin Signed Message:\n', | 1037 | messagePrefix: '\x18Smileycoin Signed Message:\n', |
1028 | bip32: { | 1038 | bip32: { |
diff --git a/src/js/index.js b/src/js/index.js index 16c5cef..93730ed 100644 --- a/src/js/index.js +++ b/src/js/index.js | |||
@@ -2315,6 +2315,13 @@ | |||
2315 | }, | 2315 | }, |
2316 | }, | 2316 | }, |
2317 | { | 2317 | { |
2318 | name: "SLS - Salus", | ||
2319 | onSelect: function() { | ||
2320 | network = bitcoinjs.bitcoin.networks.salus; | ||
2321 | setHdCoin(63); | ||
2322 | }, | ||
2323 | }, | ||
2324 | { | ||
2318 | name: "SDC - ShadowCash", | 2325 | name: "SDC - ShadowCash", |
2319 | onSelect: function() { | 2326 | onSelect: function() { |
2320 | network = bitcoinjs.bitcoin.networks.shadow; | 2327 | network = bitcoinjs.bitcoin.networks.shadow; |