aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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 d3f9847..9b0366a 100644
--- a/src/js/bitcoinjs-extensions.js
+++ b/src/js/bitcoinjs-extensions.js
@@ -1331,3 +1331,14 @@ bitcoinjs.bitcoin.networks.energi = {
1331 scriptHash: 0x35, 1331 scriptHash: 0x35,
1332 wif: 0x6a, 1332 wif: 0x6a,
1333}; 1333};
1334
1335bitcoinjs.bitcoin.networks.exchangecoin = {
1336 messagePrefix: 'ExchangeCoin Signed Message:\n',
1337 bip32: {
1338 public: 0x0488B21E,
1339 private: 0x0488ADE4,
1340 },
1341 pubKeyHash: 0x21B9,
1342 scriptHash: 0x34AF,
1343 wif: 0x80,
1344};
diff --git a/src/js/index.js b/src/js/index.js
index 2a3e86c..e3d0b4b 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -1936,6 +1936,13 @@
1936 }, 1936 },
1937 }, 1937 },
1938 { 1938 {
1939 name: "EXCC - ExchangeCoin",
1940 onSelect: function() {
1941 network = bitcoinjs.bitcoin.networks.exchangecoin;
1942 setHdCoin(0);
1943 },
1944 },
1945 {
1939 name: "EXP - Expanse", 1946 name: "EXP - Expanse",
1940 segwitAvailable: false, 1947 segwitAvailable: false,
1941 onSelect: function() { 1948 onSelect: function() {