chaincoin / php-api
Communicate with chaincoin-cli via JSON-RPC
Installs: 69
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/chaincoin/php-api
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