Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 341 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 341 Bytes

Bitcoin Helper

This class is designed to facilitate the comminication between a JSON-RPC server.

Usage:

require_once('BitCoin.php');

$bitcoin = new BitCoin('rpcuser', 'rpcpassword'); // Default host is 127.0.0.1
$bitcoin->setProtocol(BitCoin::PROTOCOL_SSL);

$info = $bitcoin->callMethod('getinfo'); // or $bitcoin->getinfo();