suscitar / libphp-multichain
Unofficial PHP library for interacting with the Multichain JsonRPC interface
This package's canonical repository appears to be gone and the package has been frozen as a result.
1.1.6
2019-07-01 02:06 UTC
Requires
- php: >=5.4.0
- suscitar/json-rpc: ^1.2
Requires (Dev)
- phpunit/phpunit: @stable
README
This library provides a simple way to work with Multichain JsonRPC interface. The entire API is implemented and the tests contain easy to follow examples on performing most of the operations.
Example usage
$client = MultichainClient("http://<chainurl>:8000", 'multichainrpc', '79pgKQusiH3VDVpyzsM6e3kRz6gWNctAwgJvymG3iiuz', 3);
$address = $client->setDebug(true)->getNewAddress();
See more examples and documentation in the tests folder.
Installing libphp-multichain
The recommended way to install this library through Composer. Run the Composer command to install the latest stable version:
composer require suscitar/libphp-multichain