This commit is contained in:
Pawel Cioch
2018-12-10 09:27:13 -06:00
parent 7f65b685b3
commit d4fcdda9fb
3 changed files with 25 additions and 0 deletions

View File

@@ -1462,4 +1462,15 @@ bitcoinjs.bitcoin.networks.blocknode_testnet = {
pubKeyHash: 0x55,
scriptHash: 0x7d,
wif: 0x89,
};
bitcoinjs.bitcoin.networks.litecoinz = {
messagePrefix: '\x18LitecoinZ Signed Message:\n',
bip32: {
public: 0x0488B21E,
private: 0x0488ADE3,
},
pubKeyHash: 0x0AB3,
scriptHash: 0x0AB8,
wif: 0x80,
};

View File

@@ -2135,6 +2135,13 @@
DOM.litecoinLtubContainer.removeClass("hidden");
},
},
{
name: "LTZ - LitecoinZ",
onSelect: function() {
network = bitcoinjs.bitcoin.networks.litecoinz;
setHdCoin(221);
},
},
{
name: "LYNX - Lynx",
onSelect: function() {

View File

@@ -1376,6 +1376,13 @@ it('Allows selection of Blocknode Testnet', function(done) {
};
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
it('Sets the bip39 seed from the prhase', function(done) {