Skip to content
Bitcoin implementation in PHP
PHP Other
  1. PHP 99.8%
  2. Other 0.2%
Branch: 1.0
Clone or download
Pull request Compare This branch is even with Bit-Wasp:1.0.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc release notes: v1.0.1 Apr 30, 2019
examples add size debugger example Dec 11, 2018
src 1.0: deprecation notice for StackInterface (unused) Dec 10, 2019
stubs
tests-rpc PrivateKeyFactory: don't bind instances to compressed or uncompressed Dec 11, 2018
tests fixes setCheckerCreator always throws Dec 10, 2019
travis try running phpstan with extensions Nov 29, 2018
.gitattributes move rpc-tests to doc folder, and update .gitattributes files Feb 1, 2019
.gitignore syntax error.. May 30, 2015
.scrutinizer.yml use new scrutinizer Dec 1, 2018
.travis.yml stop testing nightly for a while, travis is testing 8.0??? Apr 25, 2019
BIPS.md update bips doc Aug 10, 2017
CONTRIBUTING.md
LICENCE add Unlicence Mar 21, 2015
Makefile A few more interfaces and classes converted Dec 29, 2017
README.md README: should clearly state that 32-bit & non-composer installs are … Apr 25, 2019
composer.json remove phpstan from default install, install as required in travis Nov 29, 2018
phpstan.neon phpstan: exclude Collection classes from analysis Dec 10, 2019
phpunit.rpc.xml
phpunit.xml Update library after change in secp256k1-php api Aug 30, 2015
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.

Warning: This library does not support 32-bit installs of PHP. Please also note that composer is the only supported installation method.

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:

  • Blocks, headers, and merkle blocks and bloom filters
  • 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
  • BIP39, and the older electrum seed format.
  • ScriptFactory for common input/output types, parser, interpreter, and classifiers
  • Supports bindings to libbitcoinconsensus
  • Bindings to Stratum (electrum) servers

Other projects

Supporters

This library is a 100% open source project. We do not receive any funding from the industry, nor provide paid support or development of features. That said, we are grateful for our supporters who provide free access for open source projects:

JetBrains

Thanks to JetBrains for supporting the project through sponsoring some All Products Packs within their Free Open Source License program.

You can’t perform that action at this time.