mirror of
https://github.com/OneKeyHQ/bip39.git
synced 2026-04-18 08:22:16 +00:00
Merge pull request #284 from skironDotNet/litecoinZ
added LTZ - LitecoinZ https://litecoinz.org/
This commit is contained in:
@@ -1462,4 +1462,15 @@ bitcoinjs.bitcoin.networks.blocknode_testnet = {
|
|||||||
pubKeyHash: 0x55,
|
pubKeyHash: 0x55,
|
||||||
scriptHash: 0x7d,
|
scriptHash: 0x7d,
|
||||||
wif: 0x89,
|
wif: 0x89,
|
||||||
|
};
|
||||||
|
|
||||||
|
bitcoinjs.bitcoin.networks.litecoinz = {
|
||||||
|
messagePrefix: '\x18LitecoinZ Signed Message:\n',
|
||||||
|
bip32: {
|
||||||
|
public: 0x0488B21E,
|
||||||
|
private: 0x0488ADE3,
|
||||||
|
},
|
||||||
|
pubKeyHash: 0x0AB3,
|
||||||
|
scriptHash: 0x0AB8,
|
||||||
|
wif: 0x80,
|
||||||
};
|
};
|
||||||
@@ -2135,6 +2135,13 @@
|
|||||||
DOM.litecoinLtubContainer.removeClass("hidden");
|
DOM.litecoinLtubContainer.removeClass("hidden");
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "LTZ - LitecoinZ",
|
||||||
|
onSelect: function() {
|
||||||
|
network = bitcoinjs.bitcoin.networks.litecoinz;
|
||||||
|
setHdCoin(221);
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "LYNX - Lynx",
|
name: "LYNX - Lynx",
|
||||||
onSelect: function() {
|
onSelect: function() {
|
||||||
|
|||||||
@@ -1376,6 +1376,13 @@ it('Allows selection of Blocknode Testnet', function(done) {
|
|||||||
};
|
};
|
||||||
testNetwork(done, params);
|
testNetwork(done, params);
|
||||||
});
|
});
|
||||||
|
it('Allows selection of LitecoinZ', function(done) {
|
||||||
|
var params = {
|
||||||
|
selectText: "LTZ - LitecoinZ",
|
||||||
|
firstAddress: "L1VTXju7hLgKV4T7fGXS9sKsnm2gmtRCmyw",
|
||||||
|
};
|
||||||
|
testNetwork(done, params);
|
||||||
|
});
|
||||||
|
|
||||||
// BIP39 seed is set from phrase
|
// BIP39 seed is set from phrase
|
||||||
it('Sets the bip39 seed from the prhase', function(done) {
|
it('Sets the bip39 seed from the prhase', function(done) {
|
||||||
|
|||||||
Reference in New Issue
Block a user