<div class="container">
<h1 class="text-center">Mnemonic Code Converter</h1>
- <p class="version">v0.3.12</p>
+ <p class="version">v0.3.13</p>
<hr>
<div class="row">
<div class="col-md-12">
}
function validateRootKey(rootKeyBase58) {
- if(isGRS())
+ if(isGRS())
return validateRootKeyGRS(rootKeyBase58);
-
+
// try various segwit network params since this extended key may be from
// any one of them.
if (networkHasSegwit()) {
privkey = keyPair.toWIF();
// BIP38 encode private key if required
if (useBip38) {
- if(isGRS())
+ if(isGRS())
privkey = groestlcoinjsBip38.encrypt(keyPair.d.toBuffer(), false, bip38password, function(p) {
console.log("Progressed " + p.percent.toFixed(1) + "% for index " + index);
}, null, networks[DOM.network.val()].name.includes("Testnet"));
else if (isP2wpkhInP2sh) {
address = groestlcoinjs.address.fromOutputScript(scriptpubkey, network)
}
- }
+ }
//non-segwit addresses are handled by using groestlcoinjs for bip32RootKey
}
setHdCoin(113);
},
},
+ {
+ name: "THT - Thought",
+ onSelect: function() {
+ network = bitcoinjs.bitcoin.networks.thought;
+ setHdCoin(1618);
+ },
+ },
{
name: "TOA - Toa",
onSelect: function() {