diff options
author | harzo <harzojunior@gmail.com> | 2018-09-05 15:03:40 +0200 |
---|---|---|
committer | harzo <harzojunior@gmail.com> | 2018-09-05 15:04:13 +0200 |
commit | a44c45e3c06a462e2de609317ba371894ed0ccee (patch) | |
tree | d2f0135f729a8d900e7f342f0b566964e8d537af /src | |
parent | 341700110bd0bc101947ff94b466b50be84c8e74 (diff) | |
download | BIP39-a44c45e3c06a462e2de609317ba371894ed0ccee.tar.gz BIP39-a44c45e3c06a462e2de609317ba371894ed0ccee.tar.zst BIP39-a44c45e3c06a462e2de609317ba371894ed0ccee.zip |
Add ExchangeCoin
Diffstat (limited to 'src')
-rw-r--r-- | src/js/bitcoinjs-extensions.js | 11 | ||||
-rw-r--r-- | src/js/index.js | 7 |
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 | |||
1335 | bitcoinjs.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() { |