Skip to main content

Guide to Web3 Domains with Ethereum Name Service (ENS)

by Samir Pradhan
June 23, 2022

Ethereum

Ethereum is a decentralized, open-source blockchain with smart contract functionality. Ether (ETH or Ξ) is the native cryptocurrency of the platform. This platform allows you to deploy distributed unstoppable applications that run on top of the blockchain network.

Ethereum Name Service (ENS)

Ethereum Name Service Website

The Ethereum Name Service is an open source decentralized internet naming protocol that runs as a set of smart contracts on the Ethereum blockchain. Similar to the Domain Name System (DNS), ENS translates computer identifiers into human-readable names with a dot-separated right-to-left hierarchical naming structure.

The native suffix of ENS is .eth but does support other Top Level Domains (TLDs) like .luxe, .abc, and .xyz with DNSSEC integration implementation.

Creating an Ethereum Wallet

Ethereum wallets are applications that let you interact with your Ethereum account. Think of it like an internet banking app – without the bank. Your wallet lets you read your balance, send transactions and connect to applications. You will need a wallet and some ethereum to register an ENS domain. You can create a metamask or coinbase wallet for free. In this guide we will mostly focus on using the metamask wallet, but setting up another wallet should be very similar.

Installing MetaMask Extension

Install the MetaMask browser extension from their website -> MetaMask (https://metamask.io/)

MetaMask Wallet Setup

Follow the instructions and make sure to save your secret seed phrase somewhere that you will be able to retrieve it later on. If you lose this you might not be able to access your wallet and lose your crypto holdings.

MetaMask Wallet Registered

You should be able to see the ETH address in your wallet after the setup is completed.
Ethereum addresses are unique, 42 hex string characters, not case-sensitive and are generated from the private key. They represent an account on the Ethereum blockchain. They are generated using the public key and private key of an account and through cryptographic hashes.

Linking and funding a Wallet to ENS

You can now attach the wallet to the ENS app using the browser extension.

Connecting the MetaMask Wallet

You can fund the wallet by buying ETH on MetaMask itself OR you can use an exchange like Coinbase, Kraken, Gemini or Binance (US) to buy the ETH there and then send it to your wallet's address.

Exploring ENS App

Link to --> Ethereum Name Service App

ENS app

In this example we search for "ippon.eth"

ENS ippon.eth

As you see, this ENS domain is already registered to an address

ippon.eth owner

  • REGISTRANT : The owner of a registration. The registrant may transfer the registration, set the Controller, and reclaim ownership of the name in the registry if required.
  • CONTROLLER : The account that may edit the records of a name. The Controller may be changed by the Registrant or Controller.
  • RESOLVER : A resolver is a contract that maps from name to the resource (e.g., cryptocurrency addresses, content hash, etc). Resolvers are pointed to by the resolver field of the registry.

If you want to learn more about the terminology in Ethereum Name Service, please refer to this link --> ENS Terminology

Using Etherscan

Etherscan is a block explorer and analytics platform that allows you to access details on any Ethereum blockchain transactions that are pending or confirmed.

Link to --> Etherscan

Using Etherscan we can search the blockchain for the transactions belonging to the address that has ippon.eth registered to...
ippon.eth etherescan address

ippon.eth owner transactions

ippon.eth ENS transaction on Etherscan
We can observe a multitude of metadata regarding the ENS registration transaction for ippon.eth

Registering an ENS username

To register your unique web3 domain/username you need to find an address that is still available and not registered to anyone else. Then you would need to have sufficient amount of ETH in your wallet to pay for ENS registration and Ethereum gas fees. The longer you wish to register a name for, the more in ETH it is going to cost. Anything less than 5 characters is also more expensive. Here is an example for ippontechnologies.eth

ippontechnologies.eth ENS

You can use your ENS username to attach it to your wallet address and even set up an image or an NFT as your profile avatar. People can send you different cryptocurrencies by just using your web3 username instead of having to use an ETH or BTC hex string addresses.

Post by Samir Pradhan
June 23, 2022

Comments