PHP code example of shoutloud / eip55php
1. Go to this page and download the library: Download shoutloud/eip55php 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/ */
shoutloud / eip55php example snippets
use Shoutloud\EIP55\Address;
Address::format("0xabc"); // 0x0000000000000000000000000000000000000aBc
Address::validate("0x0000000000000000000000000000000000000aBc"); // true
Address::validate("0x0000000000000000000000000000000000000abc"); // false