]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/BIP39.git/commitdiff
Merge pull request #229 from majikandy/patch-2
authoriancoleman <1281387+iancoleman@users.noreply.github.com>
Wed, 25 Jul 2018 23:30:19 +0000 (09:30 +1000)
committerGitHub <noreply@github.com>
Wed, 25 Jul 2018 23:30:19 +0000 (09:30 +1000)
Added TSTRAT

src/js/bitcoinjs-extensions.js
src/js/index.js

index 98a220ab8c13a646258bbfcf1e3ba786a77676dc..4154103c50299082663315b121c7de5b280056fe 100644 (file)
@@ -1075,7 +1075,7 @@ bitcoinjs.bitcoin.networks.syscoin = {
   },
   pubKeyHash: 0x3f,
   scriptHash: 0x05,
-  wif: 0xbf,
+  wif: 0x80,
 };
 
 
@@ -1244,6 +1244,17 @@ bitcoinjs.bitcoin.networks.bitcoinz = {
   wif: 0x80,
 };
 
+bitcoinjs.bitcoin.networks.hush = {
+  messagePrefix: '\x18Hush Signed Message:\n',
+  bip32: {
+    public: 0x0488B21E,
+    private: 0x0488ADE4,
+  },
+  pubKeyHash: 0x1CB8,
+  scriptHash: 0x1CBD,
+  wif: 0x80,
+};
+
 bitcoinjs.bitcoin.networks.zclassic = {
   messagePrefix: '\x18Zcash Signed Message:\n',
   bip32: {
index 41011efe50e82e6593c79ee18c48067d4a8ad181..bfab5cf45e9bcb7c64ac6575ae2ca573622c5fb4 100644 (file)
                 network = bitcoinjs.bitcoin.networks.helleniccoin;
                 setHdCoin(168);
             },
+        },
+               {
+            name: "HUSH - Hush",
+            onSelect: function() {
+                network = bitcoinjs.bitcoin.networks.hush;
+                setHdCoin(197);
+            },
         },
         {
             name: "INSN - Insane",