• Stars
    star
    1,044
  • Rank 44,131 (Top 0.9 %)
  • Language
    PHP
  • License
    The Unlicense
  • Created over 9 years ago
  • Updated 6 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Bitcoin implementation in PHP

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.

More Repositories

1

BitWasp

Open Source Bitcoin Marketplace Software
PHP
271
star
2

bitcoin-lib-php

PHP libraries implementing bitcoin key functions, as well as BIP32 and electrum.
PHP
135
star
3

buffertools-php

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.
PHP
64
star
4

secp256k1-php

PHP bindings for bitcoin-core/secp256k1
PHP
57
star
5

BitWasp-Historic

A secure, anonymous marketplace integrated with the Bitcoin currency
PHP
44
star
6

bitcoin-p2p-php

Implementation of Bitcoin protocol using ReactPHP
PHP
37
star
7

node-php

PHP
20
star
8

stratum-php

Implementation of the Stratum protocol (for electrum and mining) using ReactPHP
PHP
19
star
9

multisig

Demonstration of multi-signature transactions
PHP
13
star
10

bech32

Bech32 library
PHP
12
star
11

testing-php

Composer package for PHP unit testing tools, using Phing for Jenkins or local development
9
star
12

bitcoinconsensus-php

PHP extension for bitcoinconsensus library for script validation
PHP
6
star
13

bitcoind-server

PHP library for spinning up regtest bitcoin instances for unit testing
PHP
4
star
14

electrum-discovery

Electrum wallet server discovery using ReactPHP
PHP
4
star
15

pinentry

pinentry interface for PHP command line applications
PHP
4
star
16

trezor-bridge-client

PHP library for communications with the trezor hardware wallet using the trezor bridge
PHP
3
star
17

trezor-protobuf

Package containing trezor protobuf messages
PHP
3
star
18

bitcoinconsensus-nodejs

Node.js bindings to bitcoinconsensus.h
C
2
star
19

bitcoind-php-guzzle

Guzzle driver for nbobtc/bitcoin-php
PHP
2
star
20

payment-requests

Application to generate signed BIP70 payment requests, and listen for payments on the peer-to-peer network
PHP
2
star
21

trait

PHP
2
star
22

malleability-fixer

Peer to peer node that fixes transactions bearing low-s signature violations
PHP
2
star
23

thread

Experimental library for creating child processes.
PHP
2
star
24

commonblockchain

PHP
2
star
25

sighash-coverage

Library to check a signatures coverage over a bitcoin transaction (ie, what parts are committed)
1
star