mastercoin/mastercore-php
Composer 安装命令:
composer require mastercoin/mastercore-php
包简介
RPC wrapper for the JSON-RPC API interface of Master Core
README 文档
README
This project is a PHP wrapper for Master Core.
Usage
To use the RPC wrapper you basically need to do the following:
use Mastercoin\MasterCore\MasterCoreRpc; ... $mastercore = new MasterCoreRpc('http://rpcuser:rpcpass@rpchost:rpcport'); $mastercore->...
Please take a look at the example and the interface documentation.
Additional information are available in the official Master Core API documentation.
Installation
The recommended way to install this library is by using composer and packagist.
If not already done, install composer:
curl -sS https://getcomposer.org/installer | php
To use this project as a library, create or edit the file composer.json and add:
{
"require": {
"mastercoin/mastercore-php": "~1.0"
}
}
And execute within your project dir:
php composer.phar install
To create mastercore-php as a new project, execute the following command:
php composer.phar create-project mastercoin/mastercore-php
Based on your system composer and php composer.phar might be used synonymously.
Dependencies
For the Bitcoin Core base and RPC connection nbobtc/bitcoind-php (packagist) is used.
统计信息
- 总下载量: 37
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-08-09