What Is ENS? A Beginner's Guide to the Ethereum Name Service and .eth Domains

Web3 · 2026-05-29 · 比特三棱镜编辑部
Ask AI

Traditional domains use DNS. Onchain domains use ENS. That single line is the most direct way to frame this entire article. When you type google.com into a browser, a chain of root servers and resolvers translates that name into an IP address. When you type vitalik.eth into a wallet, a completely different system — fully open source, running on Ethereum — translates that name into a 0x address. Both systems solve a similar human problem (names instead of numbers), but the ownership model, programmability, and applications differ in ways that matter.

What ENS Actually Is

ENS stands for Ethereum Name Service. It was launched in 2017 by Nick Johnson and is essentially a collection of smart contracts on Ethereum mainnet that map human-readable names (like alice.eth) to onchain resources: wallet addresses, content hashes, text records, and more.

The three biggest differences from DNS are ownership, programmability, and transparency. Ownership is onchain — when you register alice.eth, the name becomes an NFT in your wallet and no registrar can reclaim it. Programmability means one ENS name can point to many things at once: an ETH address, a Bitcoin address, an avatar, a Twitter handle, an IPFS site hash. Any dApp can read these fields directly. Transparency means every resolution path lives in audited public contracts.

(/uploads/20260529/1780064112743-31271.png)

An ENS .eth name enters a wallet as an NFT pointing to on-chain resources

Registering a Name Like vitalik.eth

The flow is not complicated, but there are a couple of gas-related gotchas. Walking through registering yourname.eth: open app.ens.domains, connect a wallet (if you do not have one yet, see wallet basics), search the name, and confirm. Pricing is per character per year: five or more characters cost about $5 a year, four-character names cost $160, three-character names cost $640. Shorter is scarcer, scarcer is more expensive.

Registration takes two transactions. The first is a commitment, then a 60-second wait to prevent front-running, then the actual registration. On Ethereum mainnet the combined gas runs anywhere from a dozen to several dozen dollars depending on congestion — see Ethereum gas optimization for timing tricks. Once registered, the name lands in your wallet as an NFT. You can renew it, transfer it, or carve out subdomains like pay.yourname.eth.

Where ENS Is Actually Used

Wallet address aliases. This is the highest-frequency use case. MetaMask, Coinbase Wallet, and Rainbow all resolve .eth names in the send field. Instead of pasting 0x742d…d0e8, you type alice.eth. The value of this is widely underestimated: raw hex addresses are essentially unreadable to humans, and a single mistyped character means lost funds. Names dramatically reduce that error surface.

Onchain identity and social. A .eth name is increasingly the unified identity layer of Web3. Twitter blue-check bios link to alice.eth, Farcaster and Lens use ENS as the canonical username, and many DeFi protocol leaderboards and airdrop lists display ENS. This is also why most Web3 meme projects lean on ENS plus social handles for distribution — community recognition runs on visible onchain identity. For a broader frame see SocialFi and the Web3 beginner guide.

IPFS site resolution. You can write an IPFS content hash into your ENS record and access the site through an ENS-aware browser (Brave natively, Chrome with MetaMask) at yourname.eth or yourname.eth.limo. Nothing flows through DNS or a centralized host, which makes the setup highly censorship-resistant.

Subdomain distribution. Register yourcompany.eth and you can hand out alice.yourcompany.eth or bob.yourcompany.eth to staff at zero recurring cost. Coinbase used this pattern to give every user a free username.cb.id.

(/uploads/20260529/1780064151970-45928.png)

ENS Compared to SNS and Other Chain Domains

After ENS took off, every major chain shipped its own version. The best known is Solana’s SNS (.sol). Others include .polygon, .apt for Aptos, and .bnb for BNB Chain. Functionally they overlap heavily, but they differ on:

Chain and ecosystem depth. ENS is the oldest and most widely integrated. SNS rides Solana’s ecosystem — see Solana vs Ethereum for the tradeoffs.

Pricing model. ENS uses annual renewal; if you stop paying, the name is released. SNS is a one-time purchase with permanent ownership. Renewals discourage hoarding; one-time purchases are friendlier to new users but invite squatting.

Interoperability. Because each chain has its own namespace, alice.eth and alice.sol can belong to different people. No unified cross-chain naming standard exists yet — frontends paper over this by aggregating. Side by side, ENS lives on Ethereum under .eth with annual renewals priced by length; SNS lives on Solana under .sol with one-time purchases priced by length; Space ID spans multiple chains with suffixes like .bnb and an annual model. Three systems, three strategy archetypes.

Renewals, Security, and Real-World Pitfalls

ENS names expire annually. If you forget to renew, the name enters a 90-day grace period when you can still pay. After that comes a 21-day temporary auction with exponentially decaying price. People have lost five-year-old names this way. Renew five or ten years at a time to avoid drama.

The second pitfall is resolver setup. A freshly registered name does not automatically resolve until you set its resolver and ETH address. Many new owners skip this and wonder why incoming transfers fail.

The third is phishing. Names like vitaIik.eth (capital I instead of lowercase l) are a common scam. The visual logic mirrors patterns covered in identifying rug pulls — the eye-second decides everything.

From Address to Name

ENS is not a flashy product. It solves three specific things: unreadable addresses, scattered identity, and DNS-dependent site resolution. The first time you send a friend USDC by typing only alice.eth, the first time the same name and avatar appear across every dApp, the first time you host a blog on IPFS and open it at yourname.eth — that is when onchain identity stops being a hex string and starts being a name.