aboutsummaryrefslogtreecommitdiff
path: root/bip39-standalone.html
diff options
context:
space:
mode:
authorIan Coleman <ian@iancoleman.io>2017-11-21 12:17:28 +1100
committerIan Coleman <ian@iancoleman.io>2017-11-21 12:17:28 +1100
commit924727ed26c9baf2a1f1a919900ea9bbc9c76028 (patch)
tree836615eb6a2bbefa738fb2085f17b3bb993cc176 /bip39-standalone.html
parent9183f9f658222dc3a24c8b4794887b6ecd80ba1e (diff)
downloadBIP39-924727ed26c9baf2a1f1a919900ea9bbc9c76028.tar.gz
BIP39-924727ed26c9baf2a1f1a919900ea9bbc9c76028.tar.zst
BIP39-924727ed26c9baf2a1f1a919900ea9bbc9c76028.zip
Release v0.2.9
Diffstat (limited to 'bip39-standalone.html')
-rw-r--r--bip39-standalone.html47
1 files changed, 42 insertions, 5 deletions
diff --git a/bip39-standalone.html b/bip39-standalone.html
index 333f264..1df8fde 100644
--- a/bip39-standalone.html
+++ b/bip39-standalone.html
@@ -118,7 +118,7 @@
118 <div class="container"> 118 <div class="container">
119 119
120 <h1 class="text-center">Mnemonic Code Converter</h1> 120 <h1 class="text-center">Mnemonic Code Converter</h1>
121 <p class="version">v0.2.8</p> 121 <p class="version">v0.2.9</p>
122 <hr> 122 <hr>
123 <div class="row"> 123 <div class="row">
124 <div class="col-md-12"> 124 <div class="col-md-12">
@@ -626,9 +626,12 @@
626 </table> 626 </table>
627 </div> 627 </div>
628 </div> 628 </div>
629 <span>Show more rows</span>: 629 <span>Show</span>
630 <input type="number" class="rows-to-add" value="20"> 630 <input type="number" class="rows-to-add" value="20">
631 <button class="more">Show</button> 631 <button class="more">more rows</button>
632 <span>starting from index</span>
633 <input type="number" class="more-rows-start-index">
634 <span>(leave blank to generate from next index)</span>
632 635
633 <hr> 636 <hr>
634 637
@@ -22444,6 +22447,17 @@ bitcoinjs.bitcoin.networks.bitcoinCashBitbpay = {
22444 wif: 0x80 22447 wif: 0x80
22445}; 22448};
22446 22449
22450bitcoinjs.bitcoin.networks.monacoin = {
22451 messagePrefix: '\x18Monacoin Signed Message:\n',
22452 bip32: {
22453 public: 0x0488b21e,
22454 private: 0x0488ade4
22455 },
22456 pubKeyHash: 0x32,
22457 scriptHash: 0x37,
22458 wif: 0xb0
22459};
22460
22447bitcoinjs.bitcoin.networks.bitcoinBip49 = { 22461bitcoinjs.bitcoin.networks.bitcoinBip49 = {
22448 messagePrefix: '\x18Bitcoin Signed Message:\n', 22462 messagePrefix: '\x18Bitcoin Signed Message:\n',
22449 bip32: { 22463 bip32: {
@@ -46069,6 +46083,7 @@ window.Entropy = new (function() {
46069 DOM.addresses = $(".addresses"); 46083 DOM.addresses = $(".addresses");
46070 DOM.rowsToAdd = $(".rows-to-add"); 46084 DOM.rowsToAdd = $(".rows-to-add");
46071 DOM.more = $(".more"); 46085 DOM.more = $(".more");
46086 DOM.moreRowsStartIndex = $(".more-rows-start-index");
46072 DOM.feedback = $(".feedback"); 46087 DOM.feedback = $(".feedback");
46073 DOM.tab = $(".derivation-type a"); 46088 DOM.tab = $(".derivation-type a");
46074 DOM.indexToggle = $(".index-toggle"); 46089 DOM.indexToggle = $(".index-toggle");
@@ -46739,12 +46754,19 @@ window.Entropy = new (function() {
46739 } 46754 }
46740 46755
46741 function showMore() { 46756 function showMore() {
46742 var start = DOM.addresses.children().length;
46743 var rowsToAdd = parseInt(DOM.rowsToAdd.val()); 46757 var rowsToAdd = parseInt(DOM.rowsToAdd.val());
46744 if (isNaN(rowsToAdd)) { 46758 if (isNaN(rowsToAdd)) {
46745 rowsToAdd = 20; 46759 rowsToAdd = 20;
46746 DOM.rowsToAdd.val("20"); 46760 DOM.rowsToAdd.val("20");
46747 } 46761 }
46762 var start = parseInt(DOM.moreRowsStartIndex.val())
46763 if (isNaN(start)) {
46764 start = lastIndexInTable() + 1;
46765 }
46766 else {
46767 var newStart = start + rowsToAdd;
46768 DOM.moreRowsStartIndex.val(newStart);
46769 }
46748 if (rowsToAdd > 200) { 46770 if (rowsToAdd > 200) {
46749 var msg = "Generating " + rowsToAdd + " rows could take a while. "; 46771 var msg = "Generating " + rowsToAdd + " rows could take a while. ";
46750 msg += "Do you want to continue?"; 46772 msg += "Do you want to continue?";
@@ -47280,6 +47302,14 @@ window.Entropy = new (function() {
47280 } 47302 }
47281 } 47303 }
47282 47304
47305 function lastIndexInTable() {
47306 var pathText = DOM.addresses.find(".index").last().text();
47307 var pathBits = pathText.split("/");
47308 var lastBit = pathBits[pathBits.length-1];
47309 var lastBitClean = lastBit.replace("'", "");
47310 return parseInt(lastBitClean);
47311 }
47312
47283 var networks = [ 47313 var networks = [
47284 { 47314 {
47285 name: "BCH - Bitcoin Cash", 47315 name: "BCH - Bitcoin Cash",
@@ -47403,7 +47433,14 @@ window.Entropy = new (function() {
47403 setHdCoin(13); 47433 setHdCoin(13);
47404 }, 47434 },
47405 }, 47435 },
47406 47436 {
47437 name: "MONA - Monacoin",
47438 p2wpkhNestedInP2shAvailable: true,
47439 onSelect: function() {
47440 network = bitcoinjs.bitcoin.networks.monacoin,
47441 setHdCoin(22);
47442 },
47443 },
47407 { 47444 {
47408 name: "NMC - Namecoin", 47445 name: "NMC - Namecoin",
47409 p2wpkhNestedInP2shAvailable: false, 47446 p2wpkhNestedInP2shAvailable: false,