Skip to content

lubuzzo/chaincoin-php-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chaincoin/php-api

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