mirror of
https://github.com/OneKeyHQ/bip39.git
synced 2026-04-23 10:50:41 +00:00
ADD support MONK, LTCt, DOGEt
This commit is contained in:
committed by
Panagiotis David
parent
22bb112ead
commit
b85da0745a
+24
-2
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user