aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJose Luis Estevez <jose.estevez.prieto@gmail.com>2019-01-13 20:39:47 +0100
committerJose Luis Estevez <jose.estevez.prieto@gmail.com>2019-01-13 20:39:47 +0100
commit4735db1064dc75b71e93eedafa988db037687c93 (patch)
tree8f3b0222f0ce39c5bd7d2fcbbaba792b64617ed8 /src
parent717a3ffcb285233e2d029ac5f544f70410d22d3d (diff)
downloadBIP39-4735db1064dc75b71e93eedafa988db037687c93.tar.gz
BIP39-4735db1064dc75b71e93eedafa988db037687c93.tar.zst
BIP39-4735db1064dc75b71e93eedafa988db037687c93.zip
Add LKRcoin (LKR)
Diffstat (limited to 'src')
-rw-r--r--src/js/bitcoinjs-extensions.js12
-rw-r--r--src/js/index.js8
2 files changed, 20 insertions, 0 deletions
diff --git a/src/js/bitcoinjs-extensions.js b/src/js/bitcoinjs-extensions.js
index 7ac8ed4..b20d6df 100644
--- a/src/js/bitcoinjs-extensions.js
+++ b/src/js/bitcoinjs-extensions.js
@@ -252,6 +252,18 @@ bitcoinjs.bitcoin.networks.onixcoin = {
252 wif: 0x80 252 wif: 0x80
253}; 253};
254 254
255
256bitcoinjs.bitcoin.networks.lkrcoin = {
257 messagePrefix: '\x18LKRcoin Signed Message:\n',
258 bip32: {
259 public: 0x0488b21e,
260 private: 0x0488ade4,
261 },
262 pubKeyHash: 0x30,
263 scriptHash: 0x55,
264 wif: 0x80
265};
266
255bitcoinjs.bitcoin.networks.pivx = { 267bitcoinjs.bitcoin.networks.pivx = {
256 messagePrefix: 'unused', 268 messagePrefix: 'unused',
257 bip32: { 269 bip32: {
diff --git a/src/js/index.js b/src/js/index.js
index 4601848..dea2ceb 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -2284,6 +2284,14 @@
2284 setHdCoin(174); 2284 setHdCoin(174);
2285 }, 2285 },
2286 }, 2286 },
2287 {
2288 name: "LKR - Lkrcoin",
2289 segwitAvailable: false,
2290 onSelect: function() {
2291 network = bitcoinjs.bitcoin.networks.lkrcoin;
2292 setHdCoin(557);
2293 },
2294 },
2287 { 2295 {
2288 name: "PHR - Phore", 2296 name: "PHR - Phore",
2289 onSelect: function() { 2297 onSelect: function() {