dev-master
9999999-devGenerating Ethereum address object
MIT
The Requires
The Development Requires
by Taras Dovgal
Generating Ethereum address object
Library to generating Ethereum address from PHP., (*1)
Dependencies: * phpecc * keccak, (*2)
You can install package via composer:, (*3)
composer require doxadoxa/phpethaddress
To generate address with random private key., (*4)
$address = EthereumAddressGenerator::generate();
To generate address with exists private key., (*5)
$address = EthereumAddressGenerator::generate();
Accessing to private key and address (return as HEX-string):, (*6)
$address->privateKey(); $address->publicKey();
To run tests use:, (*7)
./vendor/bin/phpunit --bootstrap vendor/autoload.php tests
Generating Ethereum address object
MIT