Bitcoin Forum
June 17, 2024, 09:56:58 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: If there is no bitcoin-cli file in VPS server?  (Read 137 times)
wsxdrfv (OP)
Jr. Member
*
Offline Offline

Activity: 405
Merit: 5


View Profile WWW
March 27, 2018, 06:42:55 AM
 #1

There  is only bitcoind file in VPS server's root folder,

and that is already running,

but there seems no bitcoin-cli, bitcoin-qt files.

In this situation, how to use bitcoin commands like [getinfo] [gettransaction] ?

achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3430
Merit: 6705


Just writing some code


View Profile WWW
March 27, 2018, 04:50:06 PM
 #2

You interact with bitcoind with the JSON-RPC protocol. So you can use cURL to do that. Or you can just copy a version of bitcoin-cli to your server. It's just a wrapper that can speak the JSON-RPC protocol, particularly for bicoind. It is a separate portable binary.

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!