PHP code example of mastercoin / mastercore-php
1. Go to this page and download the library: Download mastercoin/mastercore-php library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
mastercoin / mastercore-php example snippets
use Mastercoin\MasterCore\MasterCoreRpc;
...
$mastercore = new MasterCoreRpc('http://rpcuser:rpcpass@rpchost:rpcport');
$mastercore->...
bash
curl -sS https://getcomposer.org/installer | php
bash
php composer.phar install
bash
php composer.phar create-project mastercoin/mastercore-php