From 7878bb3295e0204b1917fd37680053641950c6a5 Mon Sep 17 00:00:00 2001 From: Stoner19 Date: Tue, 21 Aug 2018 13:35:49 -0600 Subject: Salus (SLS) support added --- src/js/bitcoinjs-extensions.js | 10 ++++++++++ src/js/index.js | 7 +++++++ 2 files changed, 17 insertions(+) (limited to 'src') 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 = { wif: 0xbc, }; +messagePrefix: '\x18Salus Signed Message:\n', +bip32: { + public: 0x0488B21E, + private: 0x0488ADE4, +}, +pubKeyHash: 0x3f, +scriptHash: 0xc4, +wif: 0xbf, +}; + bitcoinjs.bitcoin.networks.smileycoin = { messagePrefix: '\x18Smileycoin Signed Message:\n', 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 @@ -2314,6 +2314,13 @@ setHdCoin(129); }, }, + { + name: "SLS - Salus", + onSelect: function() { + network = bitcoinjs.bitcoin.networks.salus; + setHdCoin(63); + }, + }, { name: "SDC - ShadowCash", onSelect: function() { -- cgit v1.2.3