The aim of ENS is to provide a better and more secure user experience when dealing with Ethereum addresses or Swarm hashes. It allows the user to register and associate an address or hash with a more user-friendly string, such as packttoken.eth. This is similar to the way in which DNS maps a user-friendly URL to an IP address.

We will register a test domain on the Rinkeby testnet, which supports .test domains, but not the .eth domains supported by the mainnet and the Ropsten testnet. This is to our benefit—registering a .test domain is a much quicker process than registering the .eth equivalent, as it doesn't involve going through an auction process. It should be noted that the .test domain expires after 28 days.

ENS is composed of ...

Get Blockchain By Example now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.