aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPawel Cioch <pawel@greenhex.net>2018-10-21 14:57:38 -0500
committerPawel Cioch <pawel@greenhex.net>2018-10-21 14:57:38 -0500
commitd2ba387163f7ea240b7a80b78783f1c5047b6f1a (patch)
tree70df4d21ba88b78d58b89c72453e3cc6ea334e0d /src
parent64425922ae0e36dc31565384c03a005cd5894632 (diff)
downloadBIP39-d2ba387163f7ea240b7a80b78783f1c5047b6f1a.tar.gz
BIP39-d2ba387163f7ea240b7a80b78783f1c5047b6f1a.tar.zst
BIP39-d2ba387163f7ea240b7a80b78783f1c5047b6f1a.zip
Added PRJ - ProjectCoin
Diffstat (limited to 'src')
-rw-r--r--src/js/bitcoinjs-extensions.js11
-rw-r--r--src/js/index.js7
2 files changed, 18 insertions, 0 deletions
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 = {
1396 pubKeyHash: 0x0582, 1396 pubKeyHash: 0x0582,
1397 scriptHash: 0x5389, 1397 scriptHash: 0x5389,
1398 wif: 0x80 1398 wif: 0x80
1399};
1400
1401bitcoinjs.bitcoin.networks.projectcoin = {
1402 messagePrefix: '\x18ProjectCoin Signed Message:\n',
1403 bip32: {
1404 public: 0x022D2533,
1405 private: 0x0221312B,
1406 },
1407 pubKeyHash: 0x37,
1408 scriptHash: 0x08,
1409 wif: 0x75,
1399}; \ No newline at end of file 1410}; \ 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
@@ -2321,6 +2321,13 @@
2321 setHdCoin(6); 2321 setHdCoin(6);
2322 }, 2322 },
2323 }, 2323 },
2324 {
2325 name: "PRJ - ProjectCoin",
2326 onSelect: function() {
2327 network = bitcoinjs.bitcoin.networks.projectcoin;
2328 setHdCoin(533);
2329 },
2330 },
2324 { 2331 {
2325 name: "PSB - Pesobit", 2332 name: "PSB - Pesobit",
2326 onSelect: function() { 2333 onSelect: function() {