Bitcoinjs-lib: Litecoin address

Created on 20 Jan 2018  路  1Comment  路  Source: bitcoinjs/bitcoinjs-lib

Hey,

I'm trying to generate litecoin address with the following:
bitcoin.HDNode.fromBase58(HD_KEY, bitcoin.networks.litecoin);
Gives an error: Invalid network version

Any ideas? Thanks

how to / question / docs

Most helpful comment

It needed Ltpv / Ltub prefix.

>All comments

It needed Ltpv / Ltub prefix.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zhaozhiming picture zhaozhiming  路  3Comments

coingeek picture coingeek  路  4Comments

hoshsadiq picture hoshsadiq  路  3Comments

rbndg picture rbndg  路  3Comments

tuyennvtb picture tuyennvtb  路  3Comments