aboutsummaryrefslogtreecommitdiff
path: root/src/js
diff options
context:
space:
mode:
authorIan Coleman <ian@iancoleman.io>2020-11-29 21:59:20 +0000
committerIan Coleman <ian@iancoleman.io>2020-11-29 21:59:20 +0000
commit38626a2d1fd10cac1dd3da971ef5057a2a1dc06b (patch)
tree272beb76414234b2b0833928f5fe5942a5d41d7c /src/js
parent990ce0d0720026dea3ef77ddcc767dd45f9ec377 (diff)
downloadBIP39-38626a2d1fd10cac1dd3da971ef5057a2a1dc06b.tar.gz
BIP39-38626a2d1fd10cac1dd3da971ef5057a2a1dc06b.tar.zst
BIP39-38626a2d1fd10cac1dd3da971ef5057a2a1dc06b.zip
Add rebranded labelling to Zcoin/Firo
Diffstat (limited to 'src/js')
-rw-r--r--src/js/bitcoinjs-extensions.js11
-rw-r--r--src/js/index.js9
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
782libs.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
782libs.bitcoin.networks.firstcoin = { 793libs.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;