From 4735db1064dc75b71e93eedafa988db037687c93 Mon Sep 17 00:00:00 2001 From: Jose Luis Estevez Date: Sun, 13 Jan 2019 20:39:47 +0100 Subject: Add LKRcoin (LKR) --- src/js/bitcoinjs-extensions.js | 12 ++++++++++++ src/js/index.js | 8 ++++++++ 2 files changed, 20 insertions(+) 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 = { wif: 0x80 }; + +bitcoinjs.bitcoin.networks.lkrcoin = { + messagePrefix: '\x18LKRcoin Signed Message:\n', + bip32: { + public: 0x0488b21e, + private: 0x0488ade4, + }, + pubKeyHash: 0x30, + scriptHash: 0x55, + wif: 0x80 +}; + bitcoinjs.bitcoin.networks.pivx = { messagePrefix: 'unused', 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 @@ -2283,6 +2283,14 @@ network = bitcoinjs.bitcoin.networks.onixcoin; setHdCoin(174); }, + }, + { + name: "LKR - Lkrcoin", + segwitAvailable: false, + onSelect: function() { + network = bitcoinjs.bitcoin.networks.lkrcoin; + setHdCoin(557); + }, }, { name: "PHR - Phore", -- cgit v1.2.3