Bitcoin implementation in PHP
DaShak and afk11 Payment protocol doc was removed by afk11
Redundant; superseded by Transaction.md
Latest commit 1cb0d04 Jul 26, 2018
Permalink
Failed to load latest commit information.
doc Payment protocol doc was removed by afk11 Jul 31, 2018
examples remove bad example, and kill final function Jul 10, 2018
src bitcoinconsensus stubs updated, and target v3.0.0 Jul 23, 2018
stubs bitcoinconsensus stubs updated, and target v3.0.0 Jul 23, 2018
tests-rpc convert Private,Public,ElectrumKey,HierarchicalKey|Factory into insta… Mar 12, 2018
tests bitcoinconsensus stubs updated, and target v3.0.0 Jul 23, 2018
travis dump logs on failure Feb 19, 2018
.gitattributes Add git attributes files: see http://blog.madewithlove.be/post/gitatt… Apr 19, 2015
.gitignore syntax error.. May 30, 2015
.scrutinizer.yml ignore source of rpc tests dir for coverage Dec 29, 2017
.travis.yml bitcoinconsensus stubs updated, and target v3.0.0 Jul 23, 2018
BIPS.md update bips doc Aug 10, 2017
CONTRIBUTING.md Add Contributing page Aug 13, 2015
LICENCE add Unlicence Mar 21, 2015
Makefile A few more interfaces and classes converted Dec 29, 2017
README.md remove bip70 class, please use bip70/bip70-php Feb 24, 2018
composer.json bitcoinconsensus stubs updated, and target v3.0.0 Jul 23, 2018
phpunit.rpc.xml Bitcoin RPC tests on travis Oct 20, 2017
phpunit.xml Update library after change in secp256k1-php api Aug 30, 2015
release-notes.md Add release-notes document Mar 19, 2016
rpc-tests.md RBF transaction test Nov 25, 2017
sign_steps.php remove last of the static key factories Mar 12, 2018
validate_examples.sh extract code from docs into examples Jul 9, 2018

README.md

Bitcoin

=======

Build Status Code Coverage Scrutinizer Code Quality Latest Stable Version

This repository contains an implementation of Bitcoin using mostly pure PHP.

Installation

You can install this library via Composer: composer require bitwasp/bitcoin

Contributing

All contributions are welcome. Please see [this page] before you get started

Documentation

Check out the beginnings of the documentation for the library: [Introduction]

Presently supported:

  • Bloom filters
  • Blocks, headers, and merkle blocks
  • P2SH & Segregated witness scripts
  • An adaptable elliptic-curve library, using [PhpEcc] by default, or libsecp256k1 if the bindings are found
  • Support for building, parsing, signing/validating transactions
  • Deterministic signatures (RFC6979)
  • BIP32 and electrum (older type I) deterministic key algorithms
  • ScriptFactory for common input/output types, parser, interpreter, and classifiers
  • Supports bindings to libbitcoinconsensus
  • Bindings to Stratum (electrum) servers
  • Easy serialization to binary representation of most classes
  • SIGHASH types when creating transactions
  • Payment Protocol (BIP70)

Other projects