From ae51db39a33c17abaddad05e2453d11aabb3a461 Mon Sep 17 00:00:00 2001 From: BeachM <11566409+BeachM@users.noreply.github.com> Date: Fri, 10 Aug 2018 21:07:36 -0700 Subject: add stash parameters --- src/js/bitcoinjs-extensions.js | 22 ++++++++++++++++++++++ src/js/index.js | 14 ++++++++++++++ 2 files changed, 36 insertions(+) (limited to 'src') diff --git a/src/js/bitcoinjs-extensions.js b/src/js/bitcoinjs-extensions.js index 8744142..06ad221 100644 --- a/src/js/bitcoinjs-extensions.js +++ b/src/js/bitcoinjs-extensions.js @@ -1045,6 +1045,28 @@ bitcoinjs.bitcoin.networks.solarcoin = { wif: 0x92, }; +bitcoinjs.bitcoin.networks.stash = { + messagePrefix: '\x18Stash Signed Message:\n', + bip32: { + public: 0x0488b21e, + private: 0x0488ade4 + }, + pubKeyHash: 0x4c, + scriptHash: 0x10, + wif: 0xcc +}; + +bitcoinjs.bitcoin.networks.stashtn = { + messagePrefix: '\x18Stash Test Signed Message:\n', + bip32: { + public: 0x043587cf, + private: 0x04358394 + }, + pubKeyHash: 0x8c, + scriptHash: 0x13, + wif: 0xef +}; + bitcoinjs.bitcoin.networks.stratis = { messagePrefix: '\x18Stratis Signed Message:\n', bip32: { diff --git a/src/js/index.js b/src/js/index.js index 589ba20..16c5cef 100644 --- a/src/js/index.js +++ b/src/js/index.js @@ -2356,6 +2356,20 @@ setHdCoin(59); }, }, + { + name: "STASH - Stash", + onSelect: function() { + network = bitcoinjs.bitcoin.networks.stash; + setHdCoin(0xC0C0); + }, + }, + { + name: "STASH - Stash Testnet", + onSelect: function() { + network = bitcoinjs.bitcoin.networks.stashtn; + setHdCoin(0xCAFE); + }, + }, { name: "STRAT - Stratis", onSelect: function() { -- cgit v1.2.3 From 3eee87560ba28593ee82637b5d981b038689d629 Mon Sep 17 00:00:00 2001 From: BeachM <11566409+BeachM@users.noreply.github.com> Date: Fri, 10 Aug 2018 21:56:20 -0700 Subject: Release v0.3.8s --- src/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/index.html b/src/index.html index 917813a..203e6e2 100644 --- a/src/index.html +++ b/src/index.html @@ -15,7 +15,7 @@

Mnemonic Code Converter

-

v0.3.8

+

v0.3.8s


-- cgit v1.2.3