btelle / ethereum-rpc
A PHP interface to the geth JSON-RPC API. All documented API functions are present.
Installs: 38
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 99
pkg:composer/btelle/ethereum-rpc
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2019-11-29 04:36:20 UTC
README
A PHP interface to the geth JSON-RPC API. All documented API functions are present.
Usage
// include the class file
require 'ethereum.php';
// create a new object
$ethereum = new Ethereum('127.0.0.1', 8545);
// do your thing
echo $ethereum->net_version();
See test/test.php for a complete example.
Function documentation
For documentation on functionality, see the Ethereum RPC documentation