You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to use isAddress function to check user input for contract voting. Downloaded web3-validator --> Called web3.validator.isAddress(address) --> Get error Uncaught TypeError: Cannot read properties of null (reading 'validator')
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
How do you use web3-validator correctly?
Trying to use isAddress function to check user input for contract voting. Downloaded
web3-validator
--> Calledweb3.validator.isAddress(address)
--> Get errorUncaught TypeError: Cannot read properties of null (reading 'validator')
Am I missing something?
Beta Was this translation helpful? Give feedback.
All reactions