Bitcoin Forum
November 16, 2024, 01:30:51 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: If there is no bitcoin-cli file in VPS server?  (Read 156 times)
wsxdrfv (OP)
Jr. Member
*
Offline Offline

Activity: 413
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: 3542
Merit: 6886


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!