diff options
author | Ian Coleman <ian@iancoleman.io> | 2018-05-08 09:42:36 +1000 |
---|---|---|
committer | Ian Coleman <ian@iancoleman.io> | 2018-05-08 10:19:59 +1000 |
commit | e0f91e20297bfd528550d6505b3e87a0e31c16a0 (patch) | |
tree | 13d7e9fb8b89b9da147771a26c427287536dec35 /src/index.html | |
parent | 956e44efd75941d7b6613a947de663923d5be7b3 (diff) | |
download | BIP39-e0f91e20297bfd528550d6505b3e87a0e31c16a0.tar.gz BIP39-e0f91e20297bfd528550d6505b3e87a0e31c16a0.tar.zst BIP39-e0f91e20297bfd528550d6505b3e87a0e31c16a0.zip |
Add cashaddr address format for bitcoin cash
Diffstat (limited to 'src/index.html')
-rw-r--r-- | src/index.html | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/src/index.html b/src/index.html index ad38117..273a1ed 100644 --- a/src/index.html +++ b/src/index.html | |||
@@ -608,13 +608,25 @@ | |||
608 | <h2>Derived Addresses</h2> | 608 | <h2>Derived Addresses</h2> |
609 | <p>Note these addresses are derived from the BIP32 Extended Key</p> | 609 | <p>Note these addresses are derived from the BIP32 Extended Key</p> |
610 | </div> | 610 | </div> |
611 | <div class="col-md-12 use-bitpay-addresses-container hidden"> | 611 | <div class="col-md-12 bch-addr-type-container hidden"> |
612 | <div class="checkbox"> | 612 | <div class="radio"> |
613 | <label> | ||
614 | <input type="radio" value="cashaddr" name="bch-addr-type" class="use-bch-cashaddr-addresses" checked="checked"> | ||
615 | <span>Use CashAddr addresses for Bitcoin Cash (ie starting with 'q' instead of '1')</span> | ||
616 | </label> | ||
617 | </div> | ||
618 | <div class="radio"> | ||
613 | <label> | 619 | <label> |
614 | <input type="checkbox" class="use-bitpay-addresses"> | 620 | <input type="radio" value="bitpay" name="bch-addr-type" class="use-bch-bitpay-addresses"> |
615 | <span>Use BitPay-style addresses for Bitcoin Cash (ie starting with 'C' instead of '1')</span> | 621 | <span>Use BitPay-style addresses for Bitcoin Cash (ie starting with 'C' instead of '1')</span> |
616 | </label> | 622 | </label> |
617 | </div> | 623 | </div> |
624 | <div class="radio"> | ||
625 | <label> | ||
626 | <input type="radio" value="legacy" name="bch-addr-type" class="use-bch-legacy-addresses"> | ||
627 | <span>Use legacy addresses for Bitcoin Cash (ie starting with '1')</span> | ||
628 | </label> | ||
629 | </div> | ||
618 | </div> | 630 | </div> |
619 | <div class="col-md-12"> | 631 | <div class="col-md-12"> |
620 | <div class="checkbox"> | 632 | <div class="checkbox"> |
@@ -903,6 +915,7 @@ | |||
903 | <script src="js/segwit-parameters.js"></script> | 915 | <script src="js/segwit-parameters.js"></script> |
904 | <script src="js/ethereumjs-util.js"></script> | 916 | <script src="js/ethereumjs-util.js"></script> |
905 | <script src="js/ripple-util.js"></script> | 917 | <script src="js/ripple-util.js"></script> |
918 | <script src="js/bchaddrjs-0.2.1.js"></script> | ||
906 | <script src="js/sjcl-bip39.js"></script> | 919 | <script src="js/sjcl-bip39.js"></script> |
907 | <script src="js/wordlist_english.js"></script> | 920 | <script src="js/wordlist_english.js"></script> |
908 | <script src="js/wordlist_japanese.js"></script> | 921 | <script src="js/wordlist_japanese.js"></script> |