kunstmaan / libphp-multichain
Unofficial PHP library for interacting with the Multichain JsonRPC interface
Installs: 2 306
Dependents: 1
Suggesters: 0
Security: 0
Stars: 32
Watchers: 10
Forks: 29
Open Issues: 12
Requires
- php: >=5.4.0
- fguillot/json-rpc: ~v1.2.3
Requires (Dev)
- phpunit/phpunit: @stable
This package is auto-updated.
Last update: 2024-11-29 04:30:33 UTC
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 kunstmaan/libphp-multichain
Need a development Blockchain and like Docker?
Take a look at these Docker images we have built.