Sending ETH or Tokens from the command line to be integrated in a PHP script

by Patoshi パトシ   Last Updated August 14, 2019 13:28 PM

I'm relatively new to using ETH on the command line. Do I use Geth or Parity? All I want to do is be able to send some ETH or Tokens from my eth private key. Which way is the best way to do it? I plan to integrate this into my php application, so I don't want to download the entire Ethereum blockchain. What is the easiest way to do this?



Answers 1


I've never used Parity so couldn't really tell. Geth is somewhat easy to use.

After you have decided on the client you have to decide on the node to use. Node relays your commands to the blockchain and keeps the blockchain state. You can either run your own - but you don't have to download the whole blockchain as different clients have different lighter synchronization modes (such as Geth's light and fast mode) which download only a small part of the blockchain.

If you don't want to run your own node you can use an external service provider, such as Infura, which offers access to an already running node.

Lauri Peltonen
Lauri Peltonen
August 14, 2019 12:33 PM

Related Questions


Is "networkID" hex or decimal?

Updated August 29, 2017 03:28 AM

Parity chain specification - use remote file?

Updated December 05, 2017 08:28 AM


Command line command to get last block hash

Updated September 05, 2017 13:28 PM

RPC call for contract details

Updated October 23, 2017 20:28 PM