shoutloud/eip55php

PHP lib to validate Ethereum EIP55 address format

0.0.1 2021-03-05 12:43 UTC

This package is auto-updated.

Last update: 2024-11-05 20:46:11 UTC


README

Helper to format/validate Ethereum address in EIP55 format.

Synopsis

use Shoutloud\EIP55\Address;

Address::format("0xabc"); // 0x0000000000000000000000000000000000000aBc
Address::validate("0x0000000000000000000000000000000000000aBc"); // true
Address::validate("0x0000000000000000000000000000000000000abc"); // false

License

MPL-2.0

Copyright