playground

The world is a playground.

2018-05-20から1日間の記事一覧

Ethereum のアドレスが適切かどうかチェックする

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