xelbot / crypto-wallet-validator
Library for validation of cryptocoin wallets
v0.9.2
2019-09-08 21:26 UTC
Requires
- php: >=7.1.0
- kornrunner/keccak: ~1.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.8
- phpunit/phpunit: ^7.0
This package is auto-updated.
Last update: 2026-03-08 19:41:54 UTC
README
Library for validation of Ethereum, Bitcoin and other cryptocoin wallets
Installation
Use composer to install the package:
composer require xelbot/crypto-wallet-validator
Or just add the package to your composer.json
{
"require": {
"xelbot/crypto-wallet-validator": "dev-master"
}
}
Usage
<?php use Xelbot\Crypto\WalletValidator; WalletValidator::validate('0x8617E340B3D01FA5F11F306F4090FD50E238070D', 'ETH'); // return true WalletValidator::validate('0xd1220A0CF4B9BE7A2E6BA89F429762E7B9ADB', 'ETH'); // return false
Supported crypto currencies
'BKX', BANKEX'CLO', Callisto'ETC', Ethereum Classic'ETH', Ethereum'ETZ', EtherZero'ZIL', Zilliqaothers- coming soon :)