The Ethereum Name Service (ENS) is an open naming system built on the Ethereum blockchain that lets a person or organization replace a long hexadecimal address with a readable name ending in .eth, such as alice.eth. Wallets, exchanges and applications that support ENS look the name up and send funds or data to the address it points to. Names can also carry other records: addresses on other blockchains, a website, an avatar or social handles.
ENS launched in May 2017 and is run by a set of smart contracts rather than a company-controlled database. It is often compared with the internet's Domain Name System (DNS), which maps website names to server numbers, and it can import ordinary DNS domains as well. Since November 2021 the protocol's treasury and parameters have been governed by the ENS DAO, whose voting token was distributed by an airdrop to existing name holders.
ENS in plain terms
A crypto address looks like a long string of random letters and numbers, much like a bank account number nobody can remember. ENS works like a phone's contact list that everyone shares: you save "alice.eth" once, and anyone who types that name gets Alice's current address. If Alice changes wallets, she updates the entry and people keep using the same name.
The difference from a private contact list is that the entry lives on a public ledger. Nobody at ENS can quietly change where alice.eth points; only the holder of the name can. That also means the holder must renew it on time and keep the controlling keys safe, just as a website owner must renew a domain.
How ENS works
ENS has two main layers. The registry is a single contract that records, for every name, who owns it and which resolver contract answers questions about it. The resolver holds the actual records, such as the Ethereum address, addresses on other chains, a content hash for decentralized websites, or text fields. Names are stored as hashes, and a name's subdomains (pay.alice.eth) can be created and controlled by the parent owner.
Lookups work in both directions. Forward resolution turns a name into an address when someone sends a payment. Reverse resolution, set by the owner as a "primary name", lets a wallet or block explorer display alice.eth instead of a raw address. Records for other chains follow ENS improvement proposals, so one name can point to a Bitcoin address and addresses on Ethereum-compatible networks at the same time.
Each registered .eth name is represented as a non-fungible token, which is why names can be transferred or sold on NFT marketplaces like any other token.
Registration and fees
Second-level .eth names are rented, not bought outright. According to the ENS documentation, the annual fee is set in US dollars and paid in ether: $5 per year for names of five or more characters, $160 for four characters and $640 for three, which is the minimum length. A small gas fee is paid on top for each transaction. Registration uses a commit-and-reveal process so that others cannot see a pending name and register it first.
When a name expires there is a 90-day grace period in which only the previous owner can renew it. After that it goes into a 21-day declining-price auction before becoming available at the normal fee. Fee revenue goes to the DAO treasury, which funds development through ENS Labs and community grants.
Uses
- Payments. Many wallets accept an ENS name in the recipient field, which reduces copy-and-paste errors in digital wallet transfers.
- Identity. A primary name serves as a username across decentralized applications and Web3 services, and the "Sign-In with Ethereum" standard often displays it. This links ENS to wider digital identity work.
- Websites. A content-hash record can point a name to a site stored on decentralized storage, reachable through gateways such as eth.limo.
- Organizations. Projects and DeFi protocols use subdomains to label their contract addresses and teams.
Risks and limitations
An ENS name is only as safe as the private key that controls it; a stolen key means a stolen name and possibly redirected payments. Lookalike names (an extra letter, a different Unicode character) can trick senders, a cousin of the address poisoning scam. Wallets differ in how they display and verify names, so users are advised to confirm the resolved address before sending large sums.
Because names expire, a business that forgets to renew can lose a name that customers still use, and a new owner could then receive payments meant for the old one. ENS records are public, so linking a name to a wallet also links that wallet's whole transaction history to a recognizable identity, which raises privacy questions familiar from any public ledger. Finally, the .eth namespace is not recognized by the global DNS root, so ordinary browsers need a gateway or extension to reach ENS websites.