bcoin-org / lcoin

Litecoin port of Bcoin
Other
72 stars 25 forks source link

Wallet Server Don't start #15

Open gonzariosm opened 5 years ago

gonzariosm commented 5 years ago

~/lcoin/bin/lcoin --spv --http-host=0.0.0.0 --http-port=8832 --api-key=secret --wallet-http-host=0.0.0.0 --wallet-http-port=8834 --wallet-api-key=secret

the server strt fine, but i can connect only with this command

bcoin-cli --api-key=secret --url=http://127.0.0.1:8832 info

works fine!

but...

bwallet-cli --api-key=secret --url=http://127.0.0.1:8834 wallets

response:

Error: connect ECONNREFUSED 127.0.0.1:8834 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1191:14)

pinheadmz commented 5 years ago

--wallet-http-port=8832 try using port 8834 there and in your bwallet-cli command. Node and wallet need to be on different ports

gonzariosm commented 5 years ago

Thanks, but i had error in my post, please see my post again. the wallet server did not respond.

(bcoin and bcash work fine...)

pinheadmz commented 5 years ago

Gotcha, ok it's likely this is because lcoin is just not maintained. I'm not sure if the lcoin wallet has been refactored out like it was on bcoin and bcash, I don't think it has. You might still have to use lcoin cli (no dash, not an alias for bclient, deprecated in current bcoin).

Unfortunately we are a small team and our effort is focused on bcoin, bcash and handshake. Since lcoin hasn't been updated in over a year, I can't recommend even using it anymore.

gonzariosm commented 5 years ago

Do you know other project LTC with TX notifications (socket.io) ?