mirror of
https://github.com/OneKeyHQ/bip39.git
synced 2026-04-05 18:43:47 +00:00
Added PRJ - ProjectCoin
This commit is contained in:
@@ -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,
|
||||
};
|
||||
@@ -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",
|
||||
|
||||
@@ -1333,7 +1333,13 @@ it('Allows selection of ANON', function(done) {
|
||||
};
|
||||
testNetwork(done, params);
|
||||
});
|
||||
|
||||
it('Allows selection of ProjectCoin', function(done) {
|
||||
var params = {
|
||||
selectText: "PRJ - ProjectCoin",
|
||||
firstAddress: "PXZG97saRseSCftfe1mcFmfAA7pf6qBbaz",
|
||||
};
|
||||
testNetwork(done, params);
|
||||
});
|
||||
|
||||
// BIP39 seed is set from phrase
|
||||
it('Sets the bip39 seed from the prhase', function(done) {
|
||||
|
||||
Reference in New Issue
Block a user