aboutsummaryrefslogtreecommitdiff
path: root/src/js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js')
-rw-r--r--src/js/bitcoinjs-extensions.js11
-rw-r--r--src/js/index.js8
2 files changed, 19 insertions, 0 deletions
diff --git a/src/js/bitcoinjs-extensions.js b/src/js/bitcoinjs-extensions.js
index 1509a6c..ae0ae8d 100644
--- a/src/js/bitcoinjs-extensions.js
+++ b/src/js/bitcoinjs-extensions.js
@@ -294,3 +294,14 @@ bitcoinjs.bitcoin.networks.litecoinXprv = {
294 scriptHash: 0x32, 294 scriptHash: 0x32,
295 wif: 0xb0 295 wif: 0xb0
296}; 296};
297
298bitcoinjs.bitcoin.networks.komodo = {
299 messagePrefix: '\x18Komodo Signed Message:\n',
300 bip32: {
301 public: 0x0488B21E,
302 private: 0x0488ADE4
303 },
304 pubKeyHash: 0x3c,
305 scriptHash: 0x55,
306 wif: 0xbc
307};
diff --git a/src/js/index.js b/src/js/index.js
index c148d9c..a147f61 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -1481,6 +1481,14 @@
1481 }, 1481 },
1482 }, 1482 },
1483 { 1483 {
1484 name: "KMD - Komodo",
1485 bip49available: false,
1486 onSelect: function() {
1487 network = bitcoinjs.bitcoin.networks.komodo;
1488 setHdCoin(141);
1489 },
1490 },
1491 {
1484 name: "LTC - Litecoin", 1492 name: "LTC - Litecoin",
1485 segwitAvailable: true, 1493 segwitAvailable: true,
1486 onSelect: function() { 1494 onSelect: function() {