aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bip39-standalone.html17
-rw-r--r--src/index.html11
-rw-r--r--src/js/index.js6
3 files changed, 32 insertions, 2 deletions
diff --git a/bip39-standalone.html b/bip39-standalone.html
index ce82c30..2769ec3 100644
--- a/bip39-standalone.html
+++ b/bip39-standalone.html
@@ -6409,6 +6409,17 @@ button.close {
6409 <div class="col-md-12"> 6409 <div class="col-md-12">
6410 <h2>Derived Addresses</h2> 6410 <h2>Derived Addresses</h2>
6411 <p>Note these addreses are derived from the <strong>BIP32 Extended Key</strong></p> 6411 <p>Note these addreses are derived from the <strong>BIP32 Extended Key</strong></p>
6412 <div class="form-group">
6413 <label for="network-address-type" class="col-sm-2 control-label">Coin</label>
6414 <div class="col-sm-10">
6415 <select id="network-address-type" class="network form-control">
6416 <option value="bitcoin">Bitcoin</option>
6417 <option value="bitcoin-testnet">Bitcoin Testnet</option>
6418 <option value="litecoin">Litecoin</option>
6419 <option value="dogecoin">Dogecoin</option>
6420 </select>
6421 </div>
6422 <div>
6412 <table class="table table-striped"> 6423 <table class="table table-striped">
6413 <thead> 6424 <thead>
6414 <th> 6425 <th>
@@ -33845,6 +33856,7 @@ var Mnemonic = function(language) {
33845 DOM.network = $(".network"); 33856 DOM.network = $(".network");
33846 DOM.phraseNetwork = $("#network-phrase"); 33857 DOM.phraseNetwork = $("#network-phrase");
33847 DOM.bip44Network = $("#network-bip44"); 33858 DOM.bip44Network = $("#network-bip44");
33859 DOM.addressNetwork = $("#network-address-type");
33848 DOM.phrase = $(".phrase"); 33860 DOM.phrase = $(".phrase");
33849 DOM.passphrase = $(".passphrase"); 33861 DOM.passphrase = $(".passphrase");
33850 DOM.generate = $(".generate"); 33862 DOM.generate = $(".generate");
@@ -33918,10 +33930,13 @@ var Mnemonic = function(language) {
33918 } 33930 }
33919 else if (n == "dogecoin") { 33931 else if (n == "dogecoin") {
33920 network = Bitcoin.networks.dogecoin; 33932 network = Bitcoin.networks.dogecoin;
33921 disableBip44Tab(); 33933 //disableBip44Tab();
33922 } 33934 }
33923 DOM.phraseNetwork.val(n); 33935 DOM.phraseNetwork.val(n);
33924 DOM.bip44Network.val(n); 33936 DOM.bip44Network.val(n);
33937 if(e.target != DOM.addressNetwork.dom){
33938 DOM.addressNetwork.val(n);
33939 }
33925 delayedPhraseChanged(); 33940 delayedPhraseChanged();
33926 } 33941 }
33927 33942
diff --git a/src/index.html b/src/index.html
index 837c735..5ff997b 100644
--- a/src/index.html
+++ b/src/index.html
@@ -205,6 +205,17 @@
205 <div class="col-md-12"> 205 <div class="col-md-12">
206 <h2>Derived Addresses</h2> 206 <h2>Derived Addresses</h2>
207 <p>Note these addreses are derived from the <strong>BIP32 Extended Key</strong></p> 207 <p>Note these addreses are derived from the <strong>BIP32 Extended Key</strong></p>
208 <div class="form-group">
209 <label for="network-address-type" class="col-sm-2 control-label">Coin</label>
210 <div class="col-sm-10">
211 <select id="network-address-type" class="network form-control">
212 <option value="bitcoin">Bitcoin</option>
213 <option value="bitcoin-testnet">Bitcoin Testnet</option>
214 <option value="litecoin">Litecoin</option>
215 <option value="dogecoin">Dogecoin</option>
216 </select>
217 </div>
218 </div>
208 <table class="table table-striped"> 219 <table class="table table-striped">
209 <thead> 220 <thead>
210 <th> 221 <th>
diff --git a/src/js/index.js b/src/js/index.js
index 09bcdd9..c610d29 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -16,6 +16,7 @@
16 DOM.network = $(".network"); 16 DOM.network = $(".network");
17 DOM.phraseNetwork = $("#network-phrase"); 17 DOM.phraseNetwork = $("#network-phrase");
18 DOM.bip44Network = $("#network-bip44"); 18 DOM.bip44Network = $("#network-bip44");
19 DOM.addressNetwork = $("#network-address-type");
19 DOM.phrase = $(".phrase"); 20 DOM.phrase = $(".phrase");
20 DOM.passphrase = $(".passphrase"); 21 DOM.passphrase = $(".passphrase");
21 DOM.generate = $(".generate"); 22 DOM.generate = $(".generate");
@@ -89,10 +90,13 @@
89 } 90 }
90 else if (n == "dogecoin") { 91 else if (n == "dogecoin") {
91 network = Bitcoin.networks.dogecoin; 92 network = Bitcoin.networks.dogecoin;
92 disableBip44Tab(); 93 //disableBip44Tab();
93 } 94 }
94 DOM.phraseNetwork.val(n); 95 DOM.phraseNetwork.val(n);
95 DOM.bip44Network.val(n); 96 DOM.bip44Network.val(n);
97 if(e.target != DOM.addressNetwork.dom){
98 DOM.addressNetwork.val(n);
99 }
96 delayedPhraseChanged(); 100 delayedPhraseChanged();
97 } 101 }
98 102