• Stars
    star
    179
  • Rank 213,251 (Top 5 %)
  • Language
    PHP
  • License
    MIT License
  • Created about 9 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A PHP interface to the Ethereum API

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