Despite all the technological innovation taking place in the cryptocurrency industry, the majority of cryptocurrencies still operate on a setup akin to the old IP address setup. Instead of using something more amiable like the wallet owner's name, you must use that person's wallet address w to send bitcoin to their address. This is when ENS comes. I will explain how to use ENS in this article.
What Is ENS?
A distributed, open, and extendable name system that communicates with the Ethereum blockchain is called the Ethereum Name Service.
The ENS serves a similar purpose to the DNS in that it maps human-readable names like "john.eth" to machine-readable names like wallet addresses like "8g978dl39ji9xl."
Users can purchase and manage their own domains through the ENS, enabling secure and decentralized transactions without having to deal with lengthy and complicated addresses. Additionally, it lessens the possibility of any input errors when entering the recipient's address for money transfers.
Although the ENS may sound exactly like the DNS system created in the 1980s, its architecture is very different. Similar to the DNS, the ENS employs a system of hierarchical names called domains, with the top-level domain and subsequent subdomains being managed by the domain's creator and owner.
How To Use ENS?
First off, there is an owner for every domain name listed in the ENS. A named domain belongs to its owner, who may, at his discretion, transfer it to another person.
Because he must register the domain on the ENS, the owner who wants to purchase a domain is referred to as a "registrant." A feature of the ENS called "registry" keeps track of, monitors, and records who has registered for a domain — the registrar — and does so.
The subdomain names are assigned by "registrars," which are smart contracts that are controlled by the permanent registrar, the primary registrar. The owner of the registry may refer to them and make changes to them at any time and at any level within the ENS .
A domain registrant may also transfer their domain registration to another specific account. In addition, if the person wants to regain ownership of a specific domain name, he can do so by reclaiming the name and domain.
As was already established, having a name differs from owning a registration. A "name" can be made up of many labels that are separated by dots and serves as a means for the ENS to identify a certain domain, such as "john.eth "
The "namehash" technique is used to process domain names that are registered on the ENS. The namehash is necessary because the ENS system, which can only operate with hashes of a finite length of 256 bits, replaces human-friendly names.
A namehash is utilized if one wants to extract the hash from the name while maintaining the domain's hierarchical features. For instance, the namehash for "john.eth" is 0x787192fc5378cc32aa.
The ENS is the only organization that represents names in this way. Names must first be normalized, which means that both upper- and lowercase names must be treated equally, before the namehash can be used. This is crucial because the namehash process makes sure that Every user sees the same names and domains that are accessible on the ENS.
Why Is ENS Famous?
The ENS does not have the security problems that a DNS system encounters because it was created specifically for Ethereum smart contracts and is a part of the Ethereum ecosystem. On a single server, DNS records for domains and names are kept. They are hence vulnerable to hacks.
For instance, Google's threat intelligence team observed a record-breaking 180,000 attacks against DNSs and other network targets in October 2020 that were launched from Chinese ISPs. On the other hand, ENS records are protected by the Ethereum blockchain.
Additionally, names and addresses become more accessible and clear thanks to the ENS. An ".eth" domain can be created or registered by anyone by taking part in an auction procedure. The domain name will be awarded to the highest bidder, who will then be able to create subdomains and lease the domains. As a result, users on the Ethereum blockchain have a rare chance to establish themselves on the network and stand out among the sea of addresses. So, I hope you know how to use ENS now. Quite easy yet very useful tool.




















