|
Ether Binder
Set of utilities for interacting with Ethereum and it's smart contracts with PHP, with generating ABI bindings and Ethereum-related types
|
Static Public Member Functions | |
| static | Recover (Hash $hash, OOGmp $r, OOGmp $s, OOGmp $v) |
| static | keyFromPrivate (#[SensitiveParameter] string $key) |
| static | EC () |
EC is a wrapper class for Elliptic Curve operations, specifically secp256k1 which is one specifically used for Ethereum. Internally it statically caches EC object, as it's instantiation has high runtime cost.
|
static |
Returns the underlying cached Elliptic\EC context.
|
static |
Creates a KeyPair object from a private key.
| string | $key | Hex-encoded private key. |
Recovers the Ethereum Address from a hash and signature parameters.
| Hash | $hash | Hash object to be verified. |
| OOGmp | $r | The 'r' part of the signature. |
| OOGmp | $s | The 's' part of the signature. |
| OOGmp | $v | The 'v' part of the signature. |
| EthBinderRuntimeException | |
| EthBinderLogicException |