node-litecoin icon indicating copy to clipboard operation
node-litecoin copied to clipboard

Litecoin testnet example

Open dzarezenko opened this issue 7 years ago • 4 comments

Could you provide some code example, how can I connect to the litecoin testnet with this lib please.

dzarezenko avatar Oct 26 '17 09:10 dzarezenko

To use testnet, you must set your litecoin.conf file to use testnet. This module has nothing to do with testnet.

Edit your litecoin.conf file, add this anywhere inside the file

testnet = 1

knoxcard avatar Nov 30 '17 00:11 knoxcard

[Linux] Type this in the command console: find / -name "litecoin.conf"

knoxcard avatar Jan 21 '18 11:01 knoxcard

Could someone close this ticket when they get the chance? @dzarezenko @gferrin

knoxcard avatar Mar 19 '18 14:03 knoxcard

The testnet=1 flag connects the node to the testnet, but I'm finding I'm unable to connect the client to testnet (works on mainnet — getting connect ECONNREFUSED on testnet). Is there some additional necessary config parameter to pass in when creating the client?

DZGoldman avatar Jul 21 '19 19:07 DZGoldman