Author

Topic: Litecoin-cli - how to work with on Linux? (Read 1019 times)

full member
Activity: 235
Merit: 100
May 16, 2017, 02:03:13 AM
#2
I am having same/similar issue , have you got something to share?

Litecoind is apparently not used anymore for sending,  it appears to be a daemon, and litecoin-cli might be the way to send.

Regarding your issue  "litecoin-cli validateaddress litecoinaddress" in terminal) I receive: "litecoin-cli: command not found

If you are on Linux you should append ./
./litecoin-cli validateaddress addresshere

Regarding the .conf file I believe it could work without it, since it's litecoin-cli, but is not best practice and haven't tested yet. Do you want to work together figuring this thing out?

I bet we can, thus it takes time.

I want to build a simple thing.
Receive litecoin in a single address on the VPS using a payment forward from a unique paying  address to that single  address. Then from that single vps address resending the litecoin in different amounts to different  addresses not on the server, but local machines to avoid having litecoin on the VPS.

You want to work together on this? Have you solved your issue?
newbie
Activity: 5
Merit: 0
Hi! I would like to run litecoin-cli so I can send different combinations of passphrase to unlock my wallet (I remember words used, but don't remember combination). I'm on Ubuntu (Please note: I'm not good in Linux and programming).

In my home directory I've got these folders: litecoin-0.10.4.0 and .litecoin.

When in terminal and in home_directory/litecoin-0.10.4.0/bin I type ./litecoin-cli I receive information about Litecoin Core RPC etc. Then, for example, when I want to (according to this API: https://litecoin.info/Litecoin_API1) check LTC address (by typing "litecoin-cli validateaddress litecoinaddress" in terminal) I receive: "litecoin-cli: command not found" (translating information from my native language).

I've read, that for litecoind two files must be created to run it: litecoin.conf and data folder. Does the same apply to litecoin-cli? In which folders must I create litecoin.conf and data folder - in litecoin-0.10.4.0/bin or in .litecoin?

Thank you in advance! P.
Jump to: