From 3b43552ceb7a4a55801689dcff62e1aff610c9d0 Mon Sep 17 00:00:00 2001 From: Andy Davis Date: Mon, 16 Jul 2018 15:01:12 +0100 Subject: Added TSTRAT --- src/js/index.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') diff --git a/src/js/index.js b/src/js/index.js index 1b56d6c..41011ef 100644 --- a/src/js/index.js +++ b/src/js/index.js @@ -2293,6 +2293,13 @@ setHdCoin(105); }, }, + { + name: "TSTRAT - Stratis Testnet", + onSelect: function() { + network = bitcoinjs.bitcoin.networks.stratistest; + setHdCoin(105); + }, + }, { name: "SYS - Syscoin", onSelect: function() { -- cgit v1.2.3 From cc9ed1c5752dabc7646e7b92c5aa2563bd4f801a Mon Sep 17 00:00:00 2001 From: Andy Davis Date: Mon, 16 Jul 2018 15:04:14 +0100 Subject: Update bitcoinjs-extensions.js --- src/js/bitcoinjs-extensions.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/js/bitcoinjs-extensions.js b/src/js/bitcoinjs-extensions.js index d44ca0d..98a220a 100644 --- a/src/js/bitcoinjs-extensions.js +++ b/src/js/bitcoinjs-extensions.js @@ -1056,6 +1056,17 @@ bitcoinjs.bitcoin.networks.stratis = { wif: 0xbf, }; +bitcoinjs.bitcoin.networks.stratistest = { + messagePrefix: '\x18Stratis Test Signed Message:\n', + bip32: { + public: 0x0488B21E, + private: 0x0488ADE4, + }, + pubKeyHash: 0x41, + scriptHash: 0x7d, + wif: 0xbf, +}; + bitcoinjs.bitcoin.networks.syscoin = { messagePrefix: '\x18Syscoin Signed Message:\n', bip32: { @@ -1264,4 +1275,4 @@ bitcoinjs.bitcoin.networks.energi = { pubKeyHash: 0x21, scriptHash: 0x35, wif: 0x6a, -}; \ No newline at end of file +}; -- cgit v1.2.3