From d2ba387163f7ea240b7a80b78783f1c5047b6f1a Mon Sep 17 00:00:00 2001 From: Pawel Cioch Date: Sun, 21 Oct 2018 14:57:38 -0500 Subject: Added PRJ - ProjectCoin --- src/js/bitcoinjs-extensions.js | 11 +++++++++++ src/js/index.js | 7 +++++++ 2 files changed, 18 insertions(+) (limited to 'src') diff --git a/src/js/bitcoinjs-extensions.js b/src/js/bitcoinjs-extensions.js index fef567a..0de9fa8 100644 --- a/src/js/bitcoinjs-extensions.js +++ b/src/js/bitcoinjs-extensions.js @@ -1396,4 +1396,15 @@ bitcoinjs.bitcoin.networks.anon = { pubKeyHash: 0x0582, scriptHash: 0x5389, wif: 0x80 +}; + +bitcoinjs.bitcoin.networks.projectcoin = { + messagePrefix: '\x18ProjectCoin Signed Message:\n', + bip32: { + public: 0x022D2533, + private: 0x0221312B, + }, + pubKeyHash: 0x37, + scriptHash: 0x08, + wif: 0x75, }; \ No newline at end of file diff --git a/src/js/index.js b/src/js/index.js index 85639a0..5d031b2 100644 --- a/src/js/index.js +++ b/src/js/index.js @@ -2320,6 +2320,13 @@ network = bitcoinjs.bitcoin.networks.peercoin; setHdCoin(6); }, + }, + { + name: "PRJ - ProjectCoin", + onSelect: function() { + network = bitcoinjs.bitcoin.networks.projectcoin; + setHdCoin(533); + }, }, { name: "PSB - Pesobit", -- cgit v1.2.3