2017 © Pedro Peláez
 

library bitcoin-dev

Bitcoin API to speed up your development.

image

mschuett/bitcoin-dev

Bitcoin API to speed up your development.

  • Tuesday, April 15, 2014
  • by michaeljs1990
  • Repository
  • 1 Watchers
  • 1 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Bitcoin-PHP-API

Implementation in PHP for the Bitcoin RPC API., (*1)

You must have bitcoind installed on your server in order to use you can download it here. http://bitcoin.org/en/download, (*2)

Getting Started

To download add the following to your composer.json file., (*3)

{
    "require": {
        "mschuett/bitcoin-dev": "dev-master"
    }
}

After running composer install you can start using the api below after including autoload in your application., (*4)

require_once __DIR__ . '/vendor/autoload.php'; 

To get started include the following code in your project. If you are using another username than bitcoinrpc you can specify after password. If you are not connecting to localhost you can set this after the user paramater. Most people will only need the following however.
, (*5)

$bitcoind = \Bitcoin\Bitcoin::instance('rpcpassword');

Now you can start interacting with bitcoind. Test it out with the following line of code.
, (*6)

var_dump($bitcoind->getinfo());

Major Contributors

haveacigaro, (*7)

The Versions

15/04 2014

dev-master

9999999-dev

Bitcoin API to speed up your development.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Michael Schuett