Use createWalletAPI buy litecoinj

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

  • Do you have a local litecoind instance?
    – Nick ODell
    Aug 17, 2017 at 3:45
  • 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
    Aug 17, 2017 at 3:51

1 Answer 1


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.

  • 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
    Aug 17, 2017 at 6:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.