border-bottom-left-radius: 20px 20px;
border-bottom-right-radius: 20px 20px;
}
+ .no-border {
+ border: 0;
+ box-shadow: inset 0 1px 1px rgba(0,0,0,.0);
+ -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.0);
+ }
</style>
</head>
<body>
<div class="col-md-12">
<h2>Derivation Path</h2>
<ul class="derivation-type nav nav-tabs" role="tablist">
- <li id="hive-tab" class="active">
- <a href="#hive" role="tab" data-toggle="tab">Hive Wallet</a>
- </li>
- <li id="mycelium-tab">
- <a href="#mycelium" role="tab" data-toggle="tab">Mycelium Wallet</a>
- </li>
- <li id="bip44-tab">
+ <li id="bip44-tab" class="active">
<a href="#bip44" role="tab" data-toggle="tab">BIP44</a>
</li>
<li id="bip32-tab">
</li>
</ul>
<div class="derivation-type tab-content">
- <div id="hive" class="tab-pane active">
- <form class="form-horizontal" role="form">
- <br>
- <div class="col-sm-2"></div>
- <div class="col-sm-10">
- <p>For more info see the <a href="https://www.hivewallet.com/" target="_blank">Hive Wallet homepage</a></p>
- </div>
- <div class="form-group">
- <label for="hive-path" class="col-sm-2 control-label">BIP32 Derivation Path</label>
- <div class="col-sm-10">
- <input id="hive-path" type="text" class="path form-control" value="m/0'/0" readonly="readonly">
- </div>
- </div>
- </form>
- </div>
- <div id="mycelium" class="tab-pane">
- <form class="form-horizontal" role="form">
- <br>
- <div class="col-sm-2"></div>
- <div class="col-sm-10">
- <p>For more info see the <a href="http://www.mycelium.com/" target="_blank">Mycelium Wallet homepage</a></p>
- </div>
- <div class="form-group">
- <label for="mycelium-path" class="col-sm-2 control-label">BIP32 Derivation Path</label>
- <div class="col-sm-10">
- <input id="mycelium-path" type="text" class="path form-control" value="m/44'/0'/0'/0" readonly="readonly">
- </div>
- </div>
- </form>
- </div>
- <div id="bip44" class="tab-pane">
+ <div id="bip44" class="tab-pane active">
<form class="form-horizontal" role="form">
<br>
<div class="col-sm-2"></div>
<input id="bip32-path" type="text" class="path form-control" value="m/0">
</div>
</div>
+ <div class="form-group">
+ <label class="col-sm-2 control-label">Hive Wallet</label>
+ <div class="col-sm-10">
+ <p class="form-control no-border">
+ Use path <code>m/0'/0</code>.
+ For more info see the <a href="https://www.hivewallet.com/" target="_blank">Hive Wallet homepage</a>
+ </p>
+ </div>
+ </div>
+ <div class="form-group">
+ <label for="mycelium-path" class="col-sm-2 control-label">Mycelium Wallet</label>
+ <div class="col-sm-10">
+ <p class="form-control no-border">
+ Use path <code>m/44'/0'/0'/0</code>.
+ For more info see the <a href="http://www.mycelium.com/" target="_blank">Mycelium Wallet homepage</a>
+ </p>
+ </div>
+ </div>
</form>
</div>
</div>
DOM.indexToggle = $(".index-toggle");
DOM.addressToggle = $(".address-toggle");
DOM.privateKeyToggle = $(".private-key-toggle");
- DOM.myceliumPath = $("#mycelium-path");
var derivationPath = $(".tab-pane.active .path").val();
onSelect: function() {
network = bitcoin.networks.bitcoin;
DOM.bip44coin.val(0);
- DOM.myceliumPath.val("m/44'/0'/0'/0");
},
},
{
onSelect: function() {
network = bitcoin.networks.testnet;
DOM.bip44coin.val(1);
- DOM.myceliumPath.val("m/44'/1'/0'/0");
},
},
{