aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoriancoleman <1281387+iancoleman@users.noreply.github.com>2018-12-11 07:43:55 +1100
committerGitHub <noreply@github.com>2018-12-11 07:43:55 +1100
commit717a3ffcb285233e2d029ac5f544f70410d22d3d (patch)
tree0485906fb66ad25d629a25804d46eb0915b35482 /src
parent7f65b685b384c48df1b4ea11e7331daf15ec680d (diff)
parentd4fcdda9fbfde32d67588aa9d74d74c5606c239d (diff)
downloadBIP39-717a3ffcb285233e2d029ac5f544f70410d22d3d.tar.gz
BIP39-717a3ffcb285233e2d029ac5f544f70410d22d3d.tar.zst
BIP39-717a3ffcb285233e2d029ac5f544f70410d22d3d.zip
Merge pull request #284 from skironDotNet/litecoinZ
added LTZ - LitecoinZ https://litecoinz.org/
Diffstat (limited to 'src')
-rw-r--r--src/js/bitcoinjs-extensions.js11
-rw-r--r--src/js/index.js7
2 files changed, 18 insertions, 0 deletions
diff --git a/src/js/bitcoinjs-extensions.js b/src/js/bitcoinjs-extensions.js
index 5ba584e..7ac8ed4 100644
--- a/src/js/bitcoinjs-extensions.js
+++ b/src/js/bitcoinjs-extensions.js
@@ -1462,4 +1462,15 @@ bitcoinjs.bitcoin.networks.blocknode_testnet = {
1462 pubKeyHash: 0x55, 1462 pubKeyHash: 0x55,
1463 scriptHash: 0x7d, 1463 scriptHash: 0x7d,
1464 wif: 0x89, 1464 wif: 0x89,
1465};
1466
1467bitcoinjs.bitcoin.networks.litecoinz = {
1468 messagePrefix: '\x18LitecoinZ Signed Message:\n',
1469 bip32: {
1470 public: 0x0488B21E,
1471 private: 0x0488ADE3,
1472 },
1473 pubKeyHash: 0x0AB3,
1474 scriptHash: 0x0AB8,
1475 wif: 0x80,
1465}; \ No newline at end of file 1476}; \ No newline at end of file
diff --git a/src/js/index.js b/src/js/index.js
index 8322115..4601848 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -2136,6 +2136,13 @@
2136 }, 2136 },
2137 }, 2137 },
2138 { 2138 {
2139 name: "LTZ - LitecoinZ",
2140 onSelect: function() {
2141 network = bitcoinjs.bitcoin.networks.litecoinz;
2142 setHdCoin(221);
2143 },
2144 },
2145 {
2139 name: "LYNX - Lynx", 2146 name: "LYNX - Lynx",
2140 onSelect: function() { 2147 onSelect: function() {
2141 network = bitcoinjs.bitcoin.networks.lynx; 2148 network = bitcoinjs.bitcoin.networks.lynx;