• Stars
    star
    1,016
  • Rank 43,497 (Top 0.9 %)
  • Language
    PHP
  • License
    The Unlicense
  • Created about 9 years ago
  • Updated 10 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
137
star
3

buffertools-php

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

secp256k1-php

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

BitWasp-Historic

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

bitcoin-p2p-php

Implementation of Bitcoin protocol using ReactPHP
PHP
35
star
7

stratum-php

Implementation of the Stratum protocol (for electrum and mining) using ReactPHP
PHP
18
star
8

node-php

PHP
18
star
9

multisig

Demonstration of multi-signature transactions
PHP
13
star
10

bech32

Bech32 library
PHP
11
star
11

testing-php

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

bitcoinconsensus-php

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

bitcoind-server

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

electrum-discovery

Electrum wallet server discovery using ReactPHP
PHP
3
star
15

pinentry

pinentry interface for PHP command line applications
PHP
3
star
16

bitcoind-php-guzzle

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

trezor-bridge-client

PHP library for communications with the trezor hardware wallet using the trezor bridge
PHP
2
star
18

trezor-protobuf

Package containing trezor protobuf messages
PHP
2
star
19

payment-requests

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

trait

PHP
1
star
21

bitcoinconsensus-nodejs

Node.js bindings to bitcoinconsensus.h
C
1
star
22

malleability-fixer

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

thread

Experimental library for creating child processes.
PHP
1
star
24

commonblockchain

PHP
1
star