2017 © Pedro Peláez
 

library bitwasp-bitcoin-lib

Implementation of raw transactions in bitcoin, HD wallets, Electrum wallets, and other fun stuff.

image

h-byte-hegelian/bitwasp-bitcoin-lib

Implementation of raw transactions in bitcoin, HD wallets, Electrum wallets, and other fun stuff.

  • Wednesday, April 25, 2018
  • by h-byte-hegelian
  • Repository
  • 0 Watchers
  • 0 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 60 Forks
  • 0 Open issues
  • 12 Versions
  • 100 % Grown

The README.md

bitcoin-lib-php

PHP libraries implementing bitcoin key functions, as well as BIP32 and electrum., (*1)

Gitter, (*2)

NB: This library is outdated, and no longer maintained. BC breaks will not be accepted for this reason. For a newer library, please see https://github.com/Bit-Wasp/bitcoin-php, (*3)

The library intends to expose a lot of general functionality which isn't available using the RPC (like deterministic addresses)., (*4)

It also allows you to reduce the number of queries that are made to bitcoind, such as createrawtransaction/signrawtransaction/decoderawtransaction. As such, such, use of bitcoin RPC functionality can be kept to a minimum., (*5)

Libraries

  • Raw Transactions: create, sign, validate, with support for P2SH.
  • Create multi-signature addresses, create redeeming transactions.
  • BIP32: Functions for generating BIP32 deterministic keys.
  • Electrum: Create seed from mnemonic, create MPK from seed, derive public keys from MPK, or private keys from seed.
  • BitcoinLib: The core class, with key functionality, encoding/decoding & validation functions, etc.
  • BIP39: Functions for generating Mnemonic code for generating deterministic keys (possibly password protected)

If this library powers your project and you're feeling tipsy, buy me lunch some day! 1sCVtkEhQmvp3D4K22Pw9xhFPTDWFh8SZ, (*6)

Installation

  1. Install Composer in your project:, (*7)

    curl -s http://getcomposer.org/installer | php, (*8)

  2. Create a composer.json file in your project root:, (*9)

    { "require": { "bitwasp/bitcoin-lib": "1.0.*" } }, (*10)

  3. Install via Composer, (*11)

    php composer.phar install, (*12)

Dependencies

Mcrypt Extension (Random data)

The Mcrypt Extension is required for generating random data, it does this internally by using /dev/urandom on unix or CryptGenRandom on windows., (*13)

GMP Extension (Math)

The GMP Extension is required for the crypto math., (*14)

PECL intl extension (BIP39)

The PECL intl extension is required for BIP39 Mnemonic Seeds when a UTF-8 passphrase is used., (*15)

Mdanter's PHP Pure PHP Elliptic Curve Cryptography Library

mdanter/ecc is required for most of the crypto., (*16)

Contributing

Please make sure that all phpunit tests pass (and preferably added new unit tests) and that the coding style passing PSR2 checks: - ./vendor/bin/phpunit - ./vendor/bin/phpcs --standard=./phpcs.xml -n -s ./src/, (*17)

The Versions

25/04 2018

dev-master

9999999-dev

Implementation of raw transactions in bitcoin, HD wallets, Electrum wallets, and other fun stuff.

  Sources   Download

Unlicense

The Requires

 

The Development Requires

php bitcoin transactions cryptocurrency btc bip32 electrum ecc hd wallet

31/03 2018

dev-patch-1

dev-patch-1

Implementation of raw transactions in bitcoin, HD wallets, Electrum wallets, and other fun stuff.

  Sources   Download

Unlicense

The Requires

 

The Development Requires

php bitcoin transactions cryptocurrency btc bip32 electrum ecc hd wallet

07/03 2017

v1.2.3

1.2.3.0

Implementation of raw transactions in bitcoin, HD wallets, Electrum wallets, and other fun stuff.

  Sources   Download

Unlicense

The Requires

 

The Development Requires

php bitcoin transactions cryptocurrency btc bip32 electrum ecc hd wallet

26/06 2015

v1.2.2

1.2.2.0

Implementation of raw transactions in bitcoin, HD wallets, Electrum wallets, and other fun stuff.

  Sources   Download

Unlicense

The Requires

 

The Development Requires

php bitcoin transactions cryptocurrency btc bip32 electrum ecc hd wallet

25/06 2015

v1.2.1

1.2.1.0

Implementation of raw transactions in bitcoin, HD wallets, Electrum wallets, and other fun stuff.

  Sources   Download

Unlicense

The Requires

 

The Development Requires

php bitcoin transactions cryptocurrency btc bip32 electrum ecc hd wallet

09/03 2015

1.2.0

1.2.0.0

Implementation of raw transactions in bitcoin, HD wallets, Electrum wallets, and other fun stuff.

  Sources   Download

Unlicense

The Requires

 

The Development Requires

php bitcoin transactions cryptocurrency btc bip32 electrum ecc hd wallet

04/03 2015

1.1.x-dev

1.1.9999999.9999999-dev

Implementation of raw transactions in bitcoin, HD wallets, Electrum wallets, and other fun stuff.

  Sources   Download

Unlicense

The Requires

 

The Development Requires

php bitcoin transactions cryptocurrency btc bip32 electrum ecc hd wallet

18/02 2015

1.1.0

1.1.0.0

Implementation of raw transactions in bitcoin, HD wallets, Electrum wallets, and other fun stuff.

  Sources   Download

Unlicense

The Requires

 

The Development Requires

php bitcoin transactions cryptocurrency btc bip32 electrum ecc hd wallet

17/02 2015

1.0.x-dev

1.0.9999999.9999999-dev

Implementation of raw transactions in bitcoin, HD wallets, Electrum wallets, and other fun stuff.

  Sources   Download

Unlicense

The Requires

 

The Development Requires

php bitcoin transactions cryptocurrency btc bip32 electrum ecc hd wallet

17/02 2015

v1.0.6

1.0.6.0

Implementation of raw transactions in bitcoin, HD wallets, Electrum wallets, and other fun stuff.

  Sources   Download

Unlicense

The Requires

 

The Development Requires

php bitcoin transactions cryptocurrency btc bip32 electrum ecc hd wallet

11/12 2014

v1.0.4

1.0.4.0

Implementation of raw transactions in bitcoin, HD wallets, Electrum wallets, and other fun stuff.

  Sources   Download

Unlicense

The Requires

 

The Development Requires

php bitcoin transactions cryptocurrency btc bip32 electrum ecc hd wallet

11/12 2014

v1.0.2

1.0.2.0

Implementation of raw transactions in bitcoin, HD wallets, Electrum wallets, and other fun stuff.

  Sources   Download

Unlicense

The Requires

 

The Development Requires

php bitcoin transactions cryptocurrency btc bip32 electrum ecc hd wallet