定制 headzoo/bitcoin-tools 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

headzoo/bitcoin-tools

Composer 安装命令:

composer require headzoo/bitcoin-tools

包简介

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

README 文档

README

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

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.

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

Bitcoin: 1Headz2mYtpBRo6KFaaUEtcm5Kce6BZRJM
Litecoin: LheadzBgTNAitxYxUTUTTQ3RT7zR5jnkfq

统计信息

  • 总下载量: 24
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 5
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-03-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固