chaincoin/php-api

Communicate with chaincoin-cli via JSON-RPC

v2.0.0 2018-08-23 16:49 UTC

This package is not auto-updated.

Last update: 2025-06-08 07:10:55 UTC


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

  1. Use the command composer require chaincoin/php-api (You need have the composer installed);
  2. Update the file /vendor/chaincoin/php-api/settings.php with the ip, port, user e pass of your wallet;
  3. There are 2 examples (getMasternodesCount and getMasternodesList) in the examples folder.

Donate

CHC: CdfzimC8ocon2rsStV1pDpcbx19n6K5cYF
BTC: 1ApcfjnaRNhGXE7U2rJK3YyyL1nTwH5sQm