<thead>
<th>
<div class="input-group">
- Index
+ Path
<button class="index-toggle">Toggle</button>
</div>
</th>
function bip44Changed() {
setBip44DerivationPath();
- derivationPath = DOM.bip44path.val();
derivationChanged();
}
var addressCell = row.find(".address span");
var privkeyCell = row.find(".privkey span");
// Content
- indexCell.text(index);
+ var indexText = derivationPath + "/" + index;
+ indexCell.text(indexText);
addressCell.text(address);
privkeyCell.text(privkey);
// Visibility
addressCell.addClass("invisible");
}
if (!showPrivKey) {
- privkeCell.addClass("invisible");
+ privkeyCell.addClass("invisible");
}
DOM.addresses.append(row);
}
path += account + "'/";
path += change;
DOM.bip44path.val(path);
+ derivationPath = DOM.bip44path.val();
}
function parseIntNoNaN(val, defaultVal) {
DOM.bip44coin.val(1);
},
},
+ {
+ name: "Viacoin",
+ onSelect: function() {
+ network = bitcoin.networks.viacoin;
+ DOM.bip44coin.val(14);
+ },
+ },
+ {
+ name: "Viacoin Testnet",
+ onSelect: function() {
+ network = bitcoin.networks.viacointestnet;
+ DOM.bip44coin.val(1);
+ },
+ },
+ {
+ name: "Jumbucks",
+ onSelect: function() {
+ network = bitcoin.networks.jumbucks;
+ DOM.bip44coin.val(26);
+ },
+ },
]
init();