mirror of
https://github.com/OneKeyHQ/bip39.git
synced 2026-04-05 18:43:47 +00:00
Added Phore (PHR) coin
This commit is contained in:
@@ -1407,4 +1407,15 @@ bitcoinjs.bitcoin.networks.projectcoin = {
|
||||
pubKeyHash: 0x37,
|
||||
scriptHash: 0x08,
|
||||
wif: 0x75,
|
||||
};
|
||||
|
||||
bitcoinjs.bitcoin.networks.phore = {
|
||||
messagePrefix: '\x18Phore Signed Message:\n',
|
||||
bip32: {
|
||||
public: 0x022D2533,
|
||||
private: 0x0221312B,
|
||||
},
|
||||
pubKeyHash: 0x37,
|
||||
scriptHash: 0x0D,
|
||||
wif: 0xD4,
|
||||
};
|
||||
@@ -2262,6 +2262,13 @@
|
||||
network = bitcoinjs.bitcoin.networks.onixcoin;
|
||||
setHdCoin(174);
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "PHR - Phore",
|
||||
onSelect: function() {
|
||||
network = bitcoinjs.bitcoin.networks.phore;
|
||||
setHdCoin(444);
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "PINK - Pinkcoin",
|
||||
|
||||
@@ -1341,6 +1341,13 @@ it('Allows selection of ProjectCoin', function(done) {
|
||||
};
|
||||
testNetwork(done, params);
|
||||
});
|
||||
it('Allows selection of Phore', function(done) {
|
||||
var params = {
|
||||
selectText: "PHR - Phore",
|
||||
firstAddress: "PJThxpoXAG6hqrmdeQQbVDX4TJtFTMMymC",
|
||||
};
|
||||
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