kenji-otsuka/chainpoint 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

kenji-otsuka/chainpoint

Composer 安装命令:

composer require kenji-otsuka/chainpoint

包简介

This is package to use Chainpoint API.

README 文档

README

This is not actively developed (2020-12-31).

This is PHP package for request to Tierion Chainpoint. For Chainpoint, look at Chainpoint Node HTTP API.

Composer Package

How to Use

First, write use statement.

use KenjiOtsuka\Chainpoint;

Create Instance

$c = new Chainpoint();

Submit Hash

Post sha256 hash.

$c->submit('0xXXXXXX...');

Or post text, which is internally converted to hash.

$c->submitData("text");

Get Proof

Get hash id node from submit result and post it. This method execution may have to be called for the same Chainpoint instanece as submit called for.

$c->getProof($hashIdNode);

Verify

Verify with proof, which is get from above request, getProof, result.

// 2 ways are available.
$c->verify($proof);
Chainpoint::verify($proof);

Other

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2018-07-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固