address = libs.bchaddrSlp.toSlpAddress(address);
}
}
+
+ // ZooBC address format may vary
+ if (networks[DOM.network.val()].name == "ZBC - ZooBlockchain") {
+
+ var purpose = parseIntNoNaN(DOM.bip44purpose.val(), 44);
+ var coin = parseIntNoNaN(DOM.bip44coin.val(), 0);
+ var path = "m/";
+ path += purpose + "'/";
+ path += coin + "'/" + index + "'";
+ var result = libs.zoobcUtil.getKeypair(path, seed);
+
+ let publicKey = result.pubKey.slice(1, 33);
+ let privateKey = result.key;
+
+ privkey = privateKey.toString('hex');
+ pubkey = publicKey.toString('hex');
+
+ indexText = path;
+ address = libs.zoobcUtil.getZBCAddress(publicKey, 'ZBC');
+ }
+
// Segwit addresses are different
if (isSegwit) {
if (!segwitAvailable) {
setHdCoin(4);
},
},
+ {
+ name: "RITO - Ritocoin",
+ onSelect: function() {
+ network = libs.bitcoin.networks.ritocoin;
+ setHdCoin(19169);
+ },
+ },
{
name: "RVR - RevolutionVR",
onSelect: function() {