[Tutorial] ENS and ENS Manager by Portal Network
Portal Network has been striving to ease the use of blockchain by constantly contributing to different projects and products. One of the core establishments of Portal Network is the Blockchain Name Service (BNS), which enhance users’ experience when using the blockchain services. Recently, we have launched our ENS (Ethereum Name Service) Manager to let users easily connect their wallet address to the resolver. In this article, we will examine the different features that we have released on this ENS Manager. But first, let’s start with ENS.
What is Ethereum Name Service (ENS)
ENS is a naming service that changes a complicated hash into human-readable name. It can be considered as something similar to DNS (Domain Name Service), which changes the IP addresses into “google.com”, “facebook.com”. In Blockchain however, ENS could be used for several purposes.
- Set as wallet address : Changes the default wallet address to “yourname.eth”
- DWebs / DApps : Replace the IPFS hash address
- Interact with several smart contracts
- Create Sub-domains
According to EIP137 by Nick Johnson, ENS has two principles components: the registry and the resolvers.
The ENS registry consists of a single central contract that maintains domains and subdomains. It also stores three essential pieces: the owner of the domain, the resolver for the domain,and the time-to-live for all records under the domain.
The owner of the a domain may be either a user’s account or a smart contract. A registrar is a smart contract that owns a domain and a list of subdomains that follow a set of rules defined in the contract.
The resolver for domain is responsible for translating Ethereum domain names into addresses. Each smart contract that follows related rules may act as a resolver in ENS.
So in order to execute the functions mentioned above, users will need to set up an ENS resolver that can execute the mapping between addresses and the ENS.
ENS Manager Tutorial
In this article, we will show you how to:
- Set up your resolver
- Set up your address with your ENS
- Set up your IPFS hash with your ENS
- Set up your subdomain
STEP 1. Get an ENS at MyEtherWallet
Before setting up an ENS resolver, you must own an ENS. If you don’t have one yet, read this tutorial to find out more.
STEP 2. Go to ENS Manager by Portal Network
Once you own an ENS, go to the ENS Manager by Portal Network. Unlock and connect to your Metamask.
STEP 3. Setup Default Resolver
Enter your ENS in the search bar and set up a default resolver. This action is considered a transaction on Ethereum, so it will cost you a small amount of transaction fee.
*Note* Only the owner of the ENS could set up a resolver. If you cannot set the resolver, double check if your Metamask account owns the ENS.
STEP 4. Setup Other Functions
Once you successfully setup your resolver, you can now setup the following functions:
- Bind with your wallet address : Enter your wallet address and you will be able to receive with your ENS.
- Create Subdomains : You can setup subdomains and give ownership to any address.
- Connect to your Dwebs : You can setup an IPFS Hash generated from you dWebs to your ENS. This means that anyone will be able to access your dWeb by simply typing in your ENS. If you don’t know how to build your own dWeb, check out Portal Network’s Web Builder.
Be mindful that all of these functions requires small amount of transaction fee (Gas) as any interaction with the smart contract on Ethereum requires sending a transaction.
Why Use ENS and Why Setup these Features
The primary purpose of ENS is to provide more effective solutions in Ethereum. Even if Ethereum has basic functionality, it suffers in several shortcomings that will limit its long-term usefulness. In the basic functions that Ethereum provides, users and developers can’t register the subdomain, like “blog.protalnetwork.com”. With ENS, developers can host multiple services under a single domain, such as a DApp hosted in Swarm, a Whisper address, or a email server. Hence, create a much more powerful commercial usage.
One of the obvious and mainstream user-case that ENS permits is that users’ decentralized domain address can be used as a human-readable alternative to a standard hexadecimal cryptocurrency address.
But the ambition for ENS is far more than that. By providing an identity in a decentralized world, ENS will shape the long-term usage on the Ethereum platform, just like how DNS has shaped the internet we use nowadays.
ENS Manager by Portal Network
Portal Network has been constantly putting efforts in the user adoption problem that blockchain is facing. It is truly unfortunate that many of the users are kept away from accessing this innovative technology due to insufficient tools and materials that can educate and raise awareness to the crowd.
We hope that with the tools and materials developed by Portal Network, we can close the gap between users and the technology, ease the process of using blockchain, and eventually bring mass adoption of blockchain and cryptocurrency.
Thank you for reading.
Follow Portal Network’s Channels for the latest update.
Social Media: Telegram | Reddit | Twitter | Facebook | Github |Websites & Products: Official Website | MUMEI | KAIZEN |