youkchan / monacoin
PHP Monacoin library with functions for transactions, signatures, serialization, Random/Deterministic ECDSA keys, blocks, RPC bindings
v0.0.34.4
2018-01-24 08:58 UTC
Requires
- php-64bit: >=5.6
- ext-bcmath: *
- ext-gmp: *
- ext-openssl: *
- bitwasp/buffertools: ^0.5.0
- bitwasp/secp256k1-php: ^0.1.2
- composer/semver: ^1.4.0
- lastguest/murmurhash: v1.3.0
- mdanter/ecc: ^0.5.0
- paragonie/random_compat: ^1.4.0|^2.0.0
- pleonasm/merkle-tree: 1.0.0
- rgooding/protobuf-php: v0.0.1
- symfony/http-foundation: ^2.7|^3.0
Requires (Dev)
- ext-json: *
- bitwasp/testing-php: ^0.1.1
- nbobtc/bitcoind-php: v2.0.2
- phpunit/phpunit: ^5.4.0
- squizlabs/php_codesniffer: ^2.0.0
This package is not auto-updated.
Last update: 2026-06-24 12:58:19 UTC
README
=======
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
- RPC bindings to Bitcoin Core's RPC
- Bindings to Stratum (electrum) servers
- Easy serialization to binary representation of most classes
- SIGHASH types when creating transactions
- Payment Protocol (BIP70)