Bitcoin Forum
June 26, 2024, 06:00:56 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Litecoin-cli - how to work with on Linux?  (Read 1003 times)
p100 (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
April 08, 2017, 04:10:27 PM
 #1

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.
danystatic
Full Member
***
Offline Offline

Activity: 235
Merit: 100


View Profile
May 16, 2017, 07: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?
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!