定制 litvinjuan/ethereum-validator 二次开发

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

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

litvinjuan/ethereum-validator

Composer 安装命令:

composer require litvinjuan/ethereum-validator

包简介

PHP implementation to validate ethereum addresses

README 文档

README

Ethereum Validator provides an easy way to validate a given string is a valid ethereum address.

Installation

You may install Ethereum Validator via Composer:

composer require litvinjuan/ethereum-validator

Usage

Ethereum Validator has a static isValidAddress method that receives a string containing the ethereum address and returns true if the address is valid, or false if it's not:

use litvinjuan\EthereumValidator\EthereumValidator;

$address = '0x71C7656EC7ab88b098defB751B7401B5f6d8976F';
if (EthereumValidator::isValidAddress($address)) {
    // Valid Address
}

// Invalid Address

Contributing

Thank you for considering contributing to Ethereum Validator! Please read the contributing guidelines before opening a PR.

##License

Ethereum Validator is open-sourced software licensed under the MIT license.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-01-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固