aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoriancoleman <1281387+iancoleman@users.noreply.github.com>2020-11-30 08:46:02 +1100
committerGitHub <noreply@github.com>2020-11-30 08:46:02 +1100
commit1b54929bda9b7b71ada0cb04d1cb11ceb78328de (patch)
treeb0b1fe56724171a17081e391d44f5162d1f25a70 /src
parentd75ddf4ea80cd8385f8d946bd4f50cacbdf6c0cb (diff)
parentad07c1c0b5fd6724f0801eff2b3211e7723ec589 (diff)
downloadBIP39-1b54929bda9b7b71ada0cb04d1cb11ceb78328de.tar.gz
BIP39-1b54929bda9b7b71ada0cb04d1cb11ceb78328de.tar.zst
BIP39-1b54929bda9b7b71ada0cb04d1cb11ceb78328de.zip
Merge pull request #456 from r1979/master
Updated Zcoin (XZC) Due to its rebrand fo Firo (FIRO)
Diffstat (limited to 'src')
-rw-r--r--src/js/bitcoinjs-extensions.js22
-rw-r--r--src/js/index.js14
2 files changed, 18 insertions, 18 deletions
diff --git a/src/js/bitcoinjs-extensions.js b/src/js/bitcoinjs-extensions.js
index 8f50f11..37cc0c6 100644
--- a/src/js/bitcoinjs-extensions.js
+++ b/src/js/bitcoinjs-extensions.js
@@ -768,6 +768,17 @@ libs.bitcoin.networks.feathercoin = {
768 wif: 0x8e, 768 wif: 0x8e,
769}; 769};
770 770
771libs.bitcoin.networks.firo = {
772 messagePrefix: '\x18Firo Signed Message:\n',
773 bip32: {
774 public: 0x0488B21E,
775 private: 0x0488ADE4,
776 },
777 pubKeyHash: 0x52,
778 scriptHash: 0x07,
779 wif: 0xd2,
780};
781
771libs.bitcoin.networks.firstcoin = { 782libs.bitcoin.networks.firstcoin = {
772 messagePrefix: '\x18FirstCoin Signed Message:\n', 783 messagePrefix: '\x18FirstCoin Signed Message:\n',
773 bip32: { 784 bip32: {
@@ -1465,17 +1476,6 @@ libs.bitcoin.networks.wincoin = {
1465 wif: 0xc9, 1476 wif: 0xc9,
1466}; 1477};
1467 1478
1468libs.bitcoin.networks.zcoin = {
1469 messagePrefix: '\x18Zcoin Signed Message:\n',
1470 bip32: {
1471 public: 0x0488B21E,
1472 private: 0x0488ADE4,
1473 },
1474 pubKeyHash: 0x52,
1475 scriptHash: 0x07,
1476 wif: 0xd2,
1477};
1478
1479libs.bitcoin.networks.zcash = { 1479libs.bitcoin.networks.zcash = {
1480 messagePrefix: '\x18Zcash Signed Message:\n', 1480 messagePrefix: '\x18Zcash Signed Message:\n',
1481 bip32: { 1481 bip32: {
diff --git a/src/js/index.js b/src/js/index.js
index 7aa0217..0412b9b 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -2685,6 +2685,13 @@
2685 }, 2685 },
2686 }, 2686 },
2687 { 2687 {
2688 name: "FIRO - Firo",
2689 onSelect: function() {
2690 network = libs.bitcoin.networks.firo;
2691 setHdCoin(136);
2692 },
2693 },
2694 {
2688 name: "FIX - FIX", 2695 name: "FIX - FIX",
2689 onSelect: function() { 2696 onSelect: function() {
2690 network = libs.bitcoin.networks.fix; 2697 network = libs.bitcoin.networks.fix;
@@ -3527,13 +3534,6 @@
3527 }, 3534 },
3528 }, 3535 },
3529 { 3536 {
3530 name: "XZC - Zcoin",
3531 onSelect: function() {
3532 network = libs.bitcoin.networks.zcoin;
3533 setHdCoin(136);
3534 },
3535 },
3536 {
3537 name: "ZCL - Zclassic", 3537 name: "ZCL - Zclassic",
3538 onSelect: function() { 3538 onSelect: function() {
3539 network = libs.bitcoin.networks.zclassic; 3539 network = libs.bitcoin.networks.zclassic;