aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Coleman <coleman.ian@gmail.com>2014-10-13 11:26:15 +1100
committerIan Coleman <coleman.ian@gmail.com>2014-10-13 11:26:15 +1100
commit42887888187b42599a9752cd9f757cbb53362ca0 (patch)
treedc85070f03091443144a53c763137c0526e372c5
parent4d457a383609fefd60658974991bc0089c470aa5 (diff)
downloadBIP39-42887888187b42599a9752cd9f757cbb53362ca0.tar.gz
BIP39-42887888187b42599a9752cd9f757cbb53362ca0.tar.zst
BIP39-42887888187b42599a9752cd9f757cbb53362ca0.zip
Hive Wallet added as an option for derivation path
-rw-r--r--src/index.html22
-rw-r--r--src/js/index.js2
2 files changed, 21 insertions, 3 deletions
diff --git a/src/index.html b/src/index.html
index 9b489ea..f771fbf 100644
--- a/src/index.html
+++ b/src/index.html
@@ -101,7 +101,10 @@
101 <div class="col-md-12"> 101 <div class="col-md-12">
102 <h2>Derivation Path</h2> 102 <h2>Derivation Path</h2>
103 <ul class="derivation-type nav nav-tabs" role="tablist"> 103 <ul class="derivation-type nav nav-tabs" role="tablist">
104 <li id="bip44-tab" class="active"> 104 <li id="hive-tab" class="active">
105 <a href="#hive" role="tab" data-toggle="tab">Hive Wallet</a>
106 </li>
107 <li id="bip44-tab">
105 <a href="#bip44" role="tab" data-toggle="tab">BIP44</a> 108 <a href="#bip44" role="tab" data-toggle="tab">BIP44</a>
106 </li> 109 </li>
107 <li id="bip32-tab"> 110 <li id="bip32-tab">
@@ -109,7 +112,22 @@
109 </li> 112 </li>
110 </ul> 113 </ul>
111 <div class="derivation-type tab-content"> 114 <div class="derivation-type tab-content">
112 <div id="bip44" class="tab-pane active"> 115 <div id="hive" class="tab-pane active">
116 <form class="form-horizontal" role="form">
117 <br>
118 <div class="col-sm-2"></div>
119 <div class="col-sm-10">
120 <p>For more info see the <a href="https://www.hivewallet.com/" target="_blank">Hive Wallet homepage</a></p>
121 </div>
122 <div class="form-group">
123 <label for="hive-path" class="col-sm-2 control-label">BIP32 Derivation Path</label>
124 <div class="col-sm-10">
125 <input id="hive-path" type="text" class="path form-control" value="m/0'/0" readonly="readonly">
126 </div>
127 </div>
128 </form>
129 </div>
130 <div id="bip44" class="tab-pane">
113 <form class="form-horizontal" role="form"> 131 <form class="form-horizontal" role="form">
114 <br> 132 <br>
115 <div class="col-sm-2"></div> 133 <div class="col-sm-2"></div>
diff --git a/src/js/index.js b/src/js/index.js
index 0ce039a..bc1682e 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -41,7 +41,7 @@
41 DOM.addressToggle = $(".address-toggle"); 41 DOM.addressToggle = $(".address-toggle");
42 DOM.privateKeyToggle = $(".private-key-toggle"); 42 DOM.privateKeyToggle = $(".private-key-toggle");
43 43
44 var derivationPath = DOM.bip44path.val(); 44 var derivationPath = $(".tab-pane.active .path").val();
45 45
46 function init() { 46 function init() {
47 // Events 47 // Events