is-ethereum-address
Just a simple utility for lightweight validation an Ethereum address.
This is a standalone implementation of web3.isEthereumAddress
with limited dependencies and an ES5 build. The keccak
package depended on will use libkeccak
for performance if the platform in question is supported; if not, a pure Javascript implementation is used.
Usage
const isEthereumAddress = ;if console; if console; if console;
The library validates capitalization per EIP 55 if there is mixed capitalization provided.