diff options
Diffstat (limited to 'src/js/index.js')
-rw-r--r-- | src/js/index.js | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/src/js/index.js b/src/js/index.js index 88b1e09..7e65434 100644 --- a/src/js/index.js +++ b/src/js/index.js | |||
@@ -980,11 +980,11 @@ | |||
980 | address = bitcoinjs.bitcoin.address.fromOutputScript(scriptpubkey, network) | 980 | address = bitcoinjs.bitcoin.address.fromOutputScript(scriptpubkey, network) |
981 | } | 981 | } |
982 | } | 982 | } |
983 | 983 | ||
984 | if ((networks[DOM.network.val()].name == "CRW - Crown")) { | 984 | if ((networks[DOM.network.val()].name == "CRW - Crown")) { |
985 | address = bitcoinjs.bitcoin.networks.crown.toNewAddress(address); | 985 | address = bitcoinjs.bitcoin.networks.crown.toNewAddress(address); |
986 | } | 986 | } |
987 | 987 | ||
988 | addAddressToList(indexText, address, pubkey, privkey); | 988 | addAddressToList(indexText, address, pubkey, privkey); |
989 | if (isLast) { | 989 | if (isLast) { |
990 | hidePending(); | 990 | hidePending(); |
@@ -1960,6 +1960,13 @@ | |||
1960 | }, | 1960 | }, |
1961 | }, | 1961 | }, |
1962 | { | 1962 | { |
1963 | name: "DOGEt - Dogecoin Testnet", | ||
1964 | onSelect: function() { | ||
1965 | network = bitcoinjs.bitcoin.networks.dogecointestnet; | ||
1966 | setHdCoin(1); | ||
1967 | }, | ||
1968 | }, | ||
1969 | { | ||
1963 | name: "DXN - DEXON", | 1970 | name: "DXN - DEXON", |
1964 | onSelect: function() { | 1971 | onSelect: function() { |
1965 | network = bitcoinjs.bitcoin.networks.bitcoin; | 1972 | network = bitcoinjs.bitcoin.networks.bitcoin; |
@@ -2213,6 +2220,14 @@ | |||
2213 | }, | 2220 | }, |
2214 | }, | 2221 | }, |
2215 | { | 2222 | { |
2223 | name: "LTCt - Litecoin Testnet", | ||
2224 | onSelect: function() { | ||
2225 | network = bitcoinjs.bitcoin.networks.litecointestnet; | ||
2226 | setHdCoin(1); | ||
2227 | DOM.litecoinLtubContainer.removeClass("hidden"); | ||
2228 | }, | ||
2229 | }, | ||
2230 | { | ||
2216 | name: "LTZ - LitecoinZ", | 2231 | name: "LTZ - LitecoinZ", |
2217 | onSelect: function() { | 2232 | onSelect: function() { |
2218 | network = bitcoinjs.bitcoin.networks.litecoinz; | 2233 | network = bitcoinjs.bitcoin.networks.litecoinz; |
@@ -2756,6 +2771,13 @@ | |||
2756 | setHdCoin(121); | 2771 | setHdCoin(121); |
2757 | }, | 2772 | }, |
2758 | }, | 2773 | }, |
2774 | { | ||
2775 | name: "MONK - Monkey Project", | ||
2776 | ` onSelect: function() { | ||
2777 | network = bitcoinjs.bitcoin.networks.monkey; | ||
2778 | setHdCoin(214); | ||
2779 | }, | ||
2780 | } | ||
2759 | ] | 2781 | ] |
2760 | 2782 | ||
2761 | var clients = [ | 2783 | var clients = [ |