aboutsummaryrefslogtreecommitdiff
path: root/src/index.html
diff options
context:
space:
mode:
authorIan Coleman <ian@iancoleman.io>2017-11-22 12:11:48 +1100
committerIan Coleman <ian@iancoleman.io>2017-11-22 13:03:47 +1100
commitc49e881294343b762109bb8104e7c1b45898c894 (patch)
treed5977e411ccc4351de1384b611c05ef1a428c213 /src/index.html
parent0fd67b5915a08168d31caaa581f55cf86591be73 (diff)
downloadBIP39-c49e881294343b762109bb8104e7c1b45898c894.tar.gz
BIP39-c49e881294343b762109bb8104e7c1b45898c894.tar.zst
BIP39-c49e881294343b762109bb8104e7c1b45898c894.zip
Add BIP141 tab for full segwit compatibility
Diffstat (limited to 'src/index.html')
-rw-r--r--src/index.html41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/index.html b/src/index.html
index b638b26..0126bef 100644
--- a/src/index.html
+++ b/src/index.html
@@ -301,6 +301,9 @@
301 <li id="bip49-tab"> 301 <li id="bip49-tab">
302 <a href="#bip49" role="tab" data-toggle="tab">BIP49</a> 302 <a href="#bip49" role="tab" data-toggle="tab">BIP49</a>
303 </li> 303 </li>
304 <li id="bip141-tab">
305 <a href="#bip141" role="tab" data-toggle="tab">BIP141</a>
306 </li>
304 </ul> 307 </ul>
305 <div class="derivation-type tab-content"> 308 <div class="derivation-type tab-content">
306 <div id="bip44" class="tab-pane active"> 309 <div id="bip44" class="tab-pane active">
@@ -544,6 +547,43 @@
544 </div> 547 </div>
545 </form> 548 </form>
546 </div> 549 </div>
550 <div id="bip141" class="tab-pane">
551 <form class="form-horizontal" role="form">
552 <br>
553 <div class="unavailable hidden">
554 <div class="form-group">
555 <div class="col-sm-2"></div>
556 <div class="col-sm-10">
557 <p>BIP141 is unavailable for this coin.</p>
558 </div>
559 </div>
560 </div>
561 <div class="available">
562 <div class="col-sm-2"></div>
563 <div class="col-sm-10">
564 <p>
565 For more info see the
566 <a href="https://github.com/bitcoin/bips/blob/master/bip-0141.mediawiki" target="_blank">BIP141 spec</a>
567 </p>
568 </div>
569 <div class="form-group">
570 <label for="bip141-path" class="col-sm-2 control-label">BIP32 Derivation Path</label>
571 <div class="col-sm-10">
572 <input id="bip141-path" type="text" class="bip141-path form-control" value="m/0">
573 </div>
574 </div>
575 <div class="form-group">
576 <label class="col-sm-2 control-label">Script Semantics</label>
577 <div class="col-sm-10">
578 <select class="form-control bip141-semantics">
579 <option value="p2wpkh">P2WPKH</option>
580 <option value="p2wpkh-p2sh" selected>P2WPKH nested in P2SH</option>
581 </select>
582 </div>
583 </div>
584 </div>
585 </form>
586 </div>
547 </div> 587 </div>
548 <form class="form-horizontal" role="form"> 588 <form class="form-horizontal" role="form">
549 <div class="form-group"> 589 <div class="form-group">
@@ -830,6 +870,7 @@
830 <script src="js/jquery.qrcode.min.js"></script> 870 <script src="js/jquery.qrcode.min.js"></script>
831 <script src="js/bitcoinjs-3.3.0.js"></script> 871 <script src="js/bitcoinjs-3.3.0.js"></script>
832 <script src="js/bitcoinjs-extensions.js"></script> 872 <script src="js/bitcoinjs-extensions.js"></script>
873 <script src="js/segwit-parameters.js"></script>
833 <script src="js/ethereumjs-util.js"></script> 874 <script src="js/ethereumjs-util.js"></script>
834 <script src="js/ripple-util.js"></script> 875 <script src="js/ripple-util.js"></script>
835 <script src="js/sjcl-bip39.js"></script> 876 <script src="js/sjcl-bip39.js"></script>