Ethereum Name Service(ENS) What Is It and How Does it Work?

7 mins read
Ethereum Name Service(ENS) What Is It and How Does it Work?

Long wallet addresses are well-known to cryptocurrency users as a hassle to remember and read. In essence, whenever you want to make a crypto transaction, you must use your wallet address, which is usually a long string of unmemorizable numbers and letters. These huge addresses are not only difficult to comprehend, but they have also resulted in numerous losses due to mistakes and frauds. The Ethereum Name Service (ENS), sometimes called ENS, aims to alleviate some of these problems.

The Ethereum Name Service, or ENS, is a decentralized system for assigning names to Ethereum addresses. This allows users to easily access Ethereum accounts and smart contracts by using easy-to-remember domain names instead of complex Ethereum addresses.

What is ENS and How does it Work?

The Ethereum Name Service (ENS) is a decentralized, open, and extensible naming system established on the Ethereum blockchain.

The goal of ENS is to translate human-readable names like ‘alice.eth’ into machine-readable identifiers such as Ethereum addresses, other cryptocurrency addresses, content hashes, and metadata. Reverse resolution is also supported by ENS, allowing you to connect metadata like as authoritative names or user interfaces with Ethereum addresses.

For example, your usual Ethereum Address could be “0xE42JKH23RFGSGDFDFF854”

This is very long and humans errors are bound to happen even while copying and pasting while using in different Crypto Wallets.

By getting an ENS Domain, you can simply convert you ETH address into something much simpler such as “michael.eth” or “yourdesiredname.eth”.

In contrast to DNS or Internet’s Domain Name Service, the ENS architecture is significantly different because of the capabilities and limitations offered by the Ethereum blockchain.

ENS is similar to DNS in that it uses a system of hierarchical names separated by dots, with domain owners having total control over subdomains.

The Domain Name System (DNS) transforms IP addresses—strings of numbers—into friendly readable domain names called URLs.

The Ethereum Name Service(ENS), on the other hand, converts machine-readable addresses to human-readable ones.

ENS makes it simple to send and receive Ethereum payments, as well as interact with Ethereum smart contracts. To use ENS, you first need to purchase an ENS domain name from a registrar that supports the service.

Then, you can point your ENS domain name at an Ethereum address or smart contract through a process called “bonding.” Once your domain is bonded, you can begin using it just like any other web domain – simply type in the name into your web browser and press enter to go to the Ethereum address or smart contract associated with it.

How Does Ethereum Name Service (ENS) Work?

Smart contracts called registrars administer top-level domains such as ‘.eth’ and ‘.test,’ which define their subdomain allocation rules. Anyone may obtain ownership of a domain by following the regulations set forth by these registrar contracts.

ENS also enables users to transfer in DNS names that they already own for use on ENS.

Anyone who owns a domain at any level may create and customize subdomains, whether for themselves or others, as desired. If Alice has ‘alice.eth,’ she can establish ‘pay.alice.eth’ and set it up as she wishes.


Ultimately, ENS is made up of two Ethereum smart contracts:

  • Registry: The registry records all domain names. Each domain name includes the owner’s information, the “caching time-to-live” of all domain entries, and a link to the resolver.
  • Resolver: The resolver is in charge of converting names to addresses and vice versa. The resolver, in essence, compares each domain name to its user, address, IPFS content hash, or website.

The ENS registry is made up of a single smart contract that manages a list of all domains and subdomains, as well as storing three critical pieces of data for each:

  • Owner’s address,
  • Resolver of the address, and
  • Caching time-to-live for all records under the domain.

The owner of a domain can be an external account (a person) or a smart contract. A registrar is simply a smart contract that manages a domain and creates subdomains according to certain criteria specified in the agreement.

Owners of domains in the ENS registry can:

  • Set the domain’s resolver and time to live.
  • Transfering the domain’s ownership to a different address.
  • Modify the ownership of subdomains.

How to get an ENS domain?

Before you can start using ENS domains, you will need to register for one. The ENS registry is a central database that houses information about ENS domains and who owns them.

You can begin the registration process by visiting the ENS registry website and following the instructions there.

First you need to have access to an Ethereum wallet and you also need to add some ETH funds to your Crypto Wallet.

Once, that part is done, you can simply, go to the ENS App and basically search for a ENS Domain Name.

You can type in your desired name and if it is available, you can connect your Ethereum Wallet to the ENS App and proceed through the transaction.

Note: There is no option for Metamask Wallet connection for ENS App, which means you will need either Wallet Connect or Coinbase Wallet in order to purchase your ENS Domain.