Is there a way to check if the ethereum address is valid in solidity? I think I might have found a way in web3js library on utils, but want to know if this method is possible on solidity.
And how can I use solidity to know the difference between account addresses and smart contract address?