PHP code example of xelbot / crypto-wallet-validator

1. Go to this page and download the library: Download xelbot/crypto-wallet-validator library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

xelbot / crypto-wallet-validator example snippets




use Xelbot\Crypto\WalletValidator;

WalletValidator::validate('0x8617E340B3D01FA5F11F306F4090FD50E238070D', 'ETH');
// return true

WalletValidator::validate('0xd1220A0CF4B9BE7A2E6BA89F429762E7B9ADB', 'ETH');
// return false