Exercise: Validation

Practice using validation and structs in Solidity.

In this exercise, we'll practice using validation in Solidity. We'll update our smart contract to ensure not only that all the registered names are unique, but also that all the registered Ethereum addresses are unique. In other words, users won’t be able to register the same address under different names. ...