From 38626a2d1fd10cac1dd3da971ef5057a2a1dc06b Mon Sep 17 00:00:00 2001 From: Ian Coleman Date: Sun, 29 Nov 2020 21:59:20 +0000 Subject: Add rebranded labelling to Zcoin/Firo --- src/js/bitcoinjs-extensions.js | 11 +++++++++++ src/js/index.js | 9 ++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) (limited to 'src/js') 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 = { wif: 0xd2, }; +libs.bitcoin.networks.zcoin = { + messagePrefix: '\x18Zcoin Signed Message:\n', + bip32: { + public: 0x0488B21E, + private: 0x0488ADE4, + }, + pubKeyHash: 0x52, + scriptHash: 0x07, + wif: 0xd2, +}; + libs.bitcoin.networks.firstcoin = { messagePrefix: '\x18FirstCoin Signed Message:\n', 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 @@ }, }, { - name: "FIRO - Firo", + name: "FIRO - Firo (Zcoin rebrand)", onSelect: function() { network = libs.bitcoin.networks.firo; setHdCoin(136); @@ -3533,6 +3533,13 @@ setHdCoin(155); }, }, + { + name: "XZC - Zcoin (rebranded to Firo)", + onSelect: function() { + network = libs.bitcoin.networks.zcoin; + setHdCoin(136); + }, + }, { name: "ZCL - Zclassic", onSelect: function() { -- cgit v1.2.3