Library for validation of Ethereum, Bitcoin and other cryptocoin wallets
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"
}
}
<?php
use Xelbot\Crypto\WalletValidator;
WalletValidator::validate('0x8617E340B3D01FA5F11F306F4090FD50E238070D', 'ETH');
// return true
WalletValidator::validate('0xd1220A0CF4B9BE7A2E6BA89F429762E7B9ADB', 'ETH');
// return false
'BKX'
, BANKEX'CLO'
, Callisto'ETC'
, Ethereum Classic'ETH'
, Ethereum'ETZ'
, EtherZero'ZIL'
, Zilliqaothers
- coming soon :)