Download the PHP package digitaldonkey/ethereum-php without Composer

On this page you can find all versions of the php package digitaldonkey/ethereum-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

Please rate this library. Is it a good library?

All versions of ethereum-php with dependencies

Informations about the package ethereum-php

Ethereum-PHP

is a typed PHP-7.1+ interface to Ethereum JSON-RPC API.

Check out the latest API documentation.

Add library in a composer.json file

Usage

This is the important part of composer.json in Drupal Ethereum Module.

Calling Contracts

You can call (unpayed) functions in smart contracts easily.

The json file "$fileName" used is what you get when you compile a contract with Truffle.

You can also run tests at smart contracts, check out EthTestClient.

Event listening and handling

You can use Ethereum-PHP to watch changed on your smart contracts or index a Blockchain block by block. gs

See UsingFilters and ethereum-php-eventlistener.

Limitations

Currently not all datatypes are supported.

This library is read-only for now. This means you can retrieve information stored in Ethereum Blockchain.

To write to the blockchain you need a to sign transactions with a private key which is not supported yet.

architecture diagram

Documentation

The API documentation is available at ethereum-php.org.

For reference see the Ethereum RPC documentation and for data encoding RLP dcumentation in Ethereum Wiki.

There is also a more readable Ethereum Frontier Guide version.


Version
Requires php Version >=7.1
ext-json Version *
graze/guzzle-jsonrpc Version ~3.0
pear/math_biginteger Version ^1.0
kornrunner/keccak Version ^1.0
digitaldonkey/ecverify Version 1.0

The package digitaldonkey/ethereum-php contains the following files

Loading the files please wait ....