2017 © Pedro Peláez
 

library bitcoin-tools

Small library used to work with Bitcoin. Currently only contains a single class which validates Bitcoin addresses.

image

headzoo/bitcoin-tools

Small library used to work with Bitcoin. Currently only contains a single class which validates Bitcoin addresses.

  • Tuesday, March 25, 2014
  • by headzoo
  • Repository
  • 1 Watchers
  • 4 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Bitcoin Tools v0.1.2

Small library used to work with Bitcoin. Currently only contains a single class which validates Bitcoin addresses., (*1)

Requirements

Quick Start

<?php

$testnet = false;
$validator = new Headzoo\Bitcoin\Tools\Validator($testnet);
if ($validator->isValid("1Headz2mYtpBRo6KFaaUEtcm5Kce6BZRJM")) {
    echo "This livenet address is valid.";
} else {
    echo "This livenet address is not valid.";
}

$testnet = true;
$validator = new Headzoo\Bitcoin\Tools\Validator($testnet);
if ($validator->isValid("mibNyNV8UNGrW7ySMS4htmvAGkhC1vVmAe")) {
    echo "This testnet address is valid.";
} else {
    echo "This testnet address is not valid.";
}

Change Log

v0.1.2 - 2014/03/25
  • Renamed namespace Headzoo\Bitcoin to Headzoo\Bitcoin\Tools.
v0.1.1 - 2014/03/23
  • Renamed the project to bitcoin-tools.
v0.1 - 2014/03/20
  • Genesis import!

License

This content is released under the MIT License. See the included LICENSE for more information., (*2)

I write code because I like writing code, and writing code is a reward in itself, but donations are always welcome., (*3)

Bitcoin: 1Headz2mYtpBRo6KFaaUEtcm5Kce6BZRJM
Litecoin: LheadzBgTNAitxYxUTUTTQ3RT7zR5jnkfq, (*4)

The Versions

25/03 2014

dev-master

9999999-dev

Small library used to work with Bitcoin. Currently only contains a single class which validates Bitcoin addresses.

  Sources   Download

MIT

The Requires

  • php >=5.5

 

by Avatar headzoo

crypto bitcoin

25/03 2014

0.1.1

0.1.1.0

Small library used to work with Bitcoin. Currently only contains a single class which validates Bitcoin addresses.

  Sources   Download

MIT

The Requires

  • php >=5.5

 

by Avatar headzoo

crypto bitcoin