How can i use litecoinj(carete wallet return public address &send money to another address)?

0

Use createWalletAPI buy litecoinj

why in this line(peerGroup.downloadBlockChain();) I can't connection peer?? I'm confuse.

Lee

Posted 2017-08-17T03:34:19.917

Reputation: 1

Do you have a local litecoind instance?Nick ODell 2017-08-17T03:45:12.330

No,But I Download litecoinj in github,how can i get the litecoin instance client ? I gratitude that, buy the way, I run bitcoinj use the main.class in java, and i can see the bitcoin wallet , how can litecoind use it ? i'm confuse.Lee 2017-08-17T03:51:11.213

Answers

0

It looks like the code that you're running expects to be able to connect to localhost and download the blockchain. Since there is no litecoin instance listening locally, this will not work.

Install litecoin, and run it.

Nick ODell

Posted 2017-08-17T03:34:19.917

Reputation: 26 536

I Download the litecoin client and run it,this is litecoin wallet client , I want to use run litecoin java code , should I use litecoin wallet client and change this wallet network to test ?Lee 2017-08-17T06:11:59.967