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

namnv04 picture namnv04  路  3Comments

hoshsadiq picture hoshsadiq  路  3Comments

rbndg picture rbndg  路  3Comments

ishwarchandratiwari picture ishwarchandratiwari  路  3Comments

prahaladbelavadi picture prahaladbelavadi  路  3Comments