mirror of
https://github.com/OneKeyHQ/bip39.git
synced 2026-04-06 02:43:49 +00:00
allow for address change, while still allowing use of BIP44.
This commit is contained in:
@@ -205,6 +205,17 @@
|
||||
<div class="col-md-12">
|
||||
<h2>Derived Addresses</h2>
|
||||
<p>Note these addreses are derived from the <strong>BIP32 Extended Key</strong></p>
|
||||
<div class="form-group">
|
||||
<label for="network-address-type" class="col-sm-2 control-label">Coin</label>
|
||||
<div class="col-sm-10">
|
||||
<select id="network-address-type" class="network form-control">
|
||||
<option value="bitcoin">Bitcoin</option>
|
||||
<option value="bitcoin-testnet">Bitcoin Testnet</option>
|
||||
<option value="litecoin">Litecoin</option>
|
||||
<option value="dogecoin">Dogecoin</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<th>
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
DOM.network = $(".network");
|
||||
DOM.phraseNetwork = $("#network-phrase");
|
||||
DOM.bip44Network = $("#network-bip44");
|
||||
DOM.addressNetwork = $("#network-address-type");
|
||||
DOM.phrase = $(".phrase");
|
||||
DOM.passphrase = $(".passphrase");
|
||||
DOM.generate = $(".generate");
|
||||
@@ -89,10 +90,13 @@
|
||||
}
|
||||
else if (n == "dogecoin") {
|
||||
network = Bitcoin.networks.dogecoin;
|
||||
disableBip44Tab();
|
||||
//disableBip44Tab();
|
||||
}
|
||||
DOM.phraseNetwork.val(n);
|
||||
DOM.bip44Network.val(n);
|
||||
if(e.target != DOM.addressNetwork.dom){
|
||||
DOM.addressNetwork.val(n);
|
||||
}
|
||||
delayedPhraseChanged();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user