ADD support MONK, LTCt, DOGEt

This commit is contained in:
Panagiotis David
2019-06-06 21:45:57 +03:00
committed by Panagiotis David
parent 22bb112ead
commit b85da0745a
3 changed files with 81 additions and 5 deletions
+24 -2
View File
@@ -980,11 +980,11 @@
address = bitcoinjs.bitcoin.address.fromOutputScript(scriptpubkey, network)
}
}
if ((networks[DOM.network.val()].name == "CRW - Crown")) {
address = bitcoinjs.bitcoin.networks.crown.toNewAddress(address);
}
addAddressToList(indexText, address, pubkey, privkey);
if (isLast) {
hidePending();
@@ -1959,6 +1959,13 @@
setHdCoin(3);
},
},
{
name: "DOGEt - Dogecoin Testnet",
onSelect: function() {
network = bitcoinjs.bitcoin.networks.dogecointestnet;
setHdCoin(1);
},
},
{
name: "DXN - DEXON",
onSelect: function() {
@@ -2212,6 +2219,14 @@
DOM.litecoinLtubContainer.removeClass("hidden");
},
},
{
name: "LTCt - Litecoin Testnet",
onSelect: function() {
network = bitcoinjs.bitcoin.networks.litecointestnet;
setHdCoin(1);
DOM.litecoinLtubContainer.removeClass("hidden");
},
},
{
name: "LTZ - LitecoinZ",
onSelect: function() {
@@ -2756,6 +2771,13 @@
setHdCoin(121);
},
},
{
name: "MONK - Monkey Project",
` onSelect: function() {
network = bitcoinjs.bitcoin.networks.monkey;
setHdCoin(214);
},
}
]
var clients = [