chaincoin / php-api
Communicate with chaincoin-cli via JSON-RPC
v2.0.0
2018-08-23 16:49 UTC
Requires
- ext-curl: *
- lib-curl: *
README
chaincoin/php-api is a simple wrapper for the Chaincoin client's JSON-RPC API.
Compatible with the latests Chaincoin releases (Tested until 0.16.1)
Install
composer require chaincoin/php-api
You need use at least the version v1.5. (The last stable version is the v2.0.0)
Start
- Use the command
composer require chaincoin/php-api
(You need have the composer installed); - Update the file /vendor/chaincoin/php-api/settings.php with the ip, port, user e pass of your wallet;
- There are 2 examples (
getMasternodesCount
andgetMasternodesList
) in theexamples
folder.
Donate
CHC: CdfzimC8ocon2rsStV1pDpcbx19n6K5cYF
BTC: 1ApcfjnaRNhGXE7U2rJK3YyyL1nTwH5sQm