49. What is the Ethereum Name Service (ENS) and how does it work?
Ethereum Name Service is a distributed mechanism for naming wallets, websites and other services associated with Web3. When you choose ENS, you simply get a decentralized domain where you can publish your content or receive seamless cryptocurrency payments for your services.
Thank you to the Ethereum Name Service mechanism, you can also define your cryptocurrency wallet, for which you do not need to remember any alphanumeric characters. Importantly, the Ethereum Name Service domain is created in the form of NFT.
Originally, the Ethereum Name Service was part of the Ethereum Foundation. However, it later became an independent entity. The main developer of ENS is Nick Johnson, other members of the ecosystem are:
Sergey Nazarov of Chainlink
Dan Finlay of MetaMask
Jason Carver and Martin Swende of the Ethereum Foundation
Taylor Monahan from MyCrypto
The Ethereum Name Service – operation
ENS is nothing other than an internet domain. The only difference is that it has a decentralized form. This makes it an ideal solution for Web3.
The Ethereum Name Service is an open-source platform that provides a naming solution for decentralized Internet domains. It works very similarly to DNS on the classic Web2. DNS maps internet protocol (IP) addresses to human-friendly domain names. This allows users to enter a website instead of their alphanumeric IP address. The Ethereum Name Service replaces the long domain code to make the content more accessible and friendly. Interestingly, ENS is created as an NFT. All this is done to transfer content or payments easily in a decentralized manner. The ending of such domains is replaced by .eth.
I am sure you will not be surprised to learn that the Ethereum Name Service is based on smart contracts. It consists of a registry, and the resolver is a second smart contract that reads domain names. However – one step at a time.
Registry. It consists of a smart contract that is used to maintain a list of all domains and subdomains. It also aims to store relevant information about each of these domains – the owner of the domain, its resolver and the variability of subdomain ownership. In addition, the ENS registry is used to match the name with the corresponding resolver.
Domain owners. In the Ethereum Name Service Registry, they can:
- Change the ownership of subdomains.
- Set the resolver and TTL for the domain.
- Transfer ownership of their domain to another address.
Resolvers, they are responsible for the entire process of translating names into addresses. Any smart contract responsible for implementing the required standards can be a resolver in the ENS ecosystem.
How to create a domain on Ethereum Name Service?
Registering such a domain is easy. You go to the official domain ENS – app.ens.domains. There, you enter the name of the domain you want to register. You check the availability of the domain and follow the instructions. The only requirement is that you have a Metamask wallet.
The Ethereum Name Service – management
ENS is administered by several bodies. Each has its importance for the whole ecosystem.
ENS DAO. Ethereum Name Service is run by a decentralized DAO autonomous organization. We have written about them here. Of course, the organization itself is managed by ENS token holders.
ENS Foundation. It represents the Ethereum Name Service DAO. Its mission is:
- Entering into agreements with other companies.
- Protecting DAO users.
- DAO Acting.
- Looking after the organizational affairs of the entity.
Why is ENS better than other domains?
Users can host websites via IPFS, making it fully decentralized. The Ethereum Name Service not only handles simple transactions on the blockchain, but also shows your bio, Twitter profile or other relevant things associated with domain users.
The main difference of Domain .eth compared to the traditional form is that ENS works in the Ethereum ecosystem. This makes it much more secure than others. Another feature of the Ethereum Name Service is that it immediately notifies users when someone has entered a wrong address or domain. The result: a secure transaction process.
The Ethereum Name Service is a very fascinating invention in the world of cryptocurrencies. It has one main task – to improve the user experience. Long number strings are often the cause of errors, and as you know – in the cryptocurrency industry, they are costly.