2018-05-20 Ethereum のアドレスが適切かどうかチェックする Blockchain Ethereum JavaScript Web3.js Web3@1.0.0 Ethereum のアドレスが適切(valid)なアドレスかどうかをチェックする方法です。 Web3 1.0.0 を使用します。 サンプルコード const isValidAddress = Web3.utils.isAddress(address); デモ https://piyolab.github.io/playground/ethereum/isValidEthereumAddress/