承接 agustind/ethsignature 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

agustind/ethsignature

最新稳定版本:v1.0.2

Composer 安装命令:

composer require agustind/ethsignature

包简介

无描述信息

README 文档

README

If you want to authenticate a user via an Ethereum wallet from PHP, or restrict certain server-side functionalities to only allowed wallets, you can request for a signed message on the frontend using a library like Ethers.js or Web3.js and pass the wallet address and signature as parameters to the server. This library will verify the signature is valid and was indeed created by the specified wallet.

Usage

composer require agustind/ethsignature
<?php use Agustind\Ethsignature; $signature = new Ethsignature(); // from the frontend (via Ethers.js or Web3.js) // the wallet 0x123456789 signs the message 'hello world' // and generates the signature string 'xxxxyyyyzzzz' $is_valid = $signature->verify('hello world', 'xxxxyyyyzzzz', '0x123456789'); // true

Donate with eth ????

Ethereum 0x8cA54b378C177db1cfde63231f9eA32fa7943036

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固