Add LKRcoin (LKR)
authorJose Luis Estevez <jose.estevez.prieto@gmail.com>
Sun, 13 Jan 2019 19:39:47 +0000 (20:39 +0100)
committerJose Luis Estevez <jose.estevez.prieto@gmail.com>
Sun, 13 Jan 2019 19:39:47 +0000 (20:39 +0100)
src/js/bitcoinjs-extensions.js
src/js/index.js

index 7ac8ed401502a598d2d2e4b2e7daaf6314bb9d13..b20d6df703805479c5f521e371ebb4117f9db22d 100644 (file)
@@ -252,6 +252,18 @@ bitcoinjs.bitcoin.networks.onixcoin = {
     wif: 0x80
 };
 
     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: {
 bitcoinjs.bitcoin.networks.pivx = {
   messagePrefix: 'unused',
   bip32: {
index 460184881c925611fba16504f06bbe433eee2836..dea2ceb2411e94865972980e0c5ee844c1aa0e68 100644 (file)
                 network = bitcoinjs.bitcoin.networks.onixcoin;
                 setHdCoin(174);
             },
                 network = bitcoinjs.bitcoin.networks.onixcoin;
                 setHdCoin(174);
             },
+        },
+        {
+            name: "LKR - Lkrcoin",
+            segwitAvailable: false,
+            onSelect: function() {
+                network = bitcoinjs.bitcoin.networks.lkrcoin;
+                setHdCoin(557);
+            },
         },
                {
             name: "PHR - Phore",
         },
                {
             name: "PHR - Phore",