diff options
Diffstat (limited to 'src/js')
-rw-r--r-- | src/js/bitcoinjs-extensions.js | 11 | ||||
-rw-r--r-- | src/js/index.js | 9 |
2 files changed, 19 insertions, 1 deletions
diff --git a/src/js/bitcoinjs-extensions.js b/src/js/bitcoinjs-extensions.js index 37cc0c6..08a6be8 100644 --- a/src/js/bitcoinjs-extensions.js +++ b/src/js/bitcoinjs-extensions.js | |||
@@ -779,6 +779,17 @@ libs.bitcoin.networks.firo = { | |||
779 | wif: 0xd2, | 779 | wif: 0xd2, |
780 | }; | 780 | }; |
781 | 781 | ||
782 | libs.bitcoin.networks.zcoin = { | ||
783 | messagePrefix: '\x18Zcoin Signed Message:\n', | ||
784 | bip32: { | ||
785 | public: 0x0488B21E, | ||
786 | private: 0x0488ADE4, | ||
787 | }, | ||
788 | pubKeyHash: 0x52, | ||
789 | scriptHash: 0x07, | ||
790 | wif: 0xd2, | ||
791 | }; | ||
792 | |||
782 | libs.bitcoin.networks.firstcoin = { | 793 | libs.bitcoin.networks.firstcoin = { |
783 | messagePrefix: '\x18FirstCoin Signed Message:\n', | 794 | messagePrefix: '\x18FirstCoin Signed Message:\n', |
784 | bip32: { | 795 | bip32: { |
diff --git a/src/js/index.js b/src/js/index.js index 0412b9b..e307e38 100644 --- a/src/js/index.js +++ b/src/js/index.js | |||
@@ -2685,7 +2685,7 @@ | |||
2685 | }, | 2685 | }, |
2686 | }, | 2686 | }, |
2687 | { | 2687 | { |
2688 | name: "FIRO - Firo", | 2688 | name: "FIRO - Firo (Zcoin rebrand)", |
2689 | onSelect: function() { | 2689 | onSelect: function() { |
2690 | network = libs.bitcoin.networks.firo; | 2690 | network = libs.bitcoin.networks.firo; |
2691 | setHdCoin(136); | 2691 | setHdCoin(136); |
@@ -3534,6 +3534,13 @@ | |||
3534 | }, | 3534 | }, |
3535 | }, | 3535 | }, |
3536 | { | 3536 | { |
3537 | name: "XZC - Zcoin (rebranded to Firo)", | ||
3538 | onSelect: function() { | ||
3539 | network = libs.bitcoin.networks.zcoin; | ||
3540 | setHdCoin(136); | ||
3541 | }, | ||
3542 | }, | ||
3543 | { | ||
3537 | name: "ZCL - Zclassic", | 3544 | name: "ZCL - Zclassic", |
3538 | onSelect: function() { | 3545 | onSelect: function() { |
3539 | network = libs.bitcoin.networks.zclassic; | 3546 | network = libs.bitcoin.networks.zclassic; |