PHP Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
doc remove bip70 class, please use bip70/bip70-php Feb 24, 2018
examples fix class error May 17, 2018
src prefix changed in code and tests May 17, 2018
stubs fixing up the ConsensusInterface, not supposed to take ScriptWitness … Nov 21, 2016
tests-rpc convert Private,Public,ElectrumKey,HierarchicalKey|Factory into insta… Mar 12, 2018
tests prefix changed in code and tests May 17, 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 run code style and examples build with coverage run Feb 20, 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
build.xml remove bin folder Jun 20, 2015
composer.json remove bip70 class, please use bip70/bip70-php Feb 24, 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 Base58: fix some scrutinizer bugs, and remove dependency on Math Dec 29, 2017

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