Skip to content

jimmydorry/php-bitcoin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php-bitcoin

A collection of functions for working with Bitcoin in PHP.

##INSTALLATION

  • Create a copy of config_SAMPLE.php as config.php
  • Modify the config.php, filling out as necessary

##Dependencies

  • PHP 5.5 or greater

#MPKGEN This function lets you generate addresses without requiring a local bitcoind instance. It requires you to have an Electrum MPK (Master Public Key), and can create public keys in a reproducible sequence.

##Dependencies

  • phpecc (in root folder, included in this project)
  • Either GMP or BCMATH php extension (GMP is several times faster than BCMATH)
  • Electrum MPK (Master Public Key)

##Usage

require_once(./mpkgen.php);
echo genBTCAddressFromMPK($master_public_key, $key_offset);`

##Sources

About

A collection of functions for working with Bitcoin in PHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages