ENS Guide one series [domain name registration .eth detailed tutorial]

ENS Domain Name System currently supports three top-level domains, respectively  .eth .xyz .luxe. Which  .eth is native ENS domain name system is decentralized intelligence domain controlled by a series of contracts, the other two are accessible from the Internet domain name in order to use such domain names can be found in the document ENS Chinese  DNS registration Guide  article.

.Eth domain name registration after a Vickrey auction-style registering short domain name registration English auction stage, now officially entered the era of instant registration. I believe the future many people will have their own domain name ENS.

Tips: There .eth domain resources are still very rich, a lot of high-quality domain name has not been registered, it is easier to pick your favorite domain name, it is recommended children's shoes have the intention to seize it.

Let us show you how to register a domain name on the Ethernet .eth Square.

Ready to work

  • Browser, used in the paper is the Chrome browser
  • Ethernet Square purse, used in the paper is the most popular plug-wallet MetaMask
  • Ethernet Square and account balance registered a domain name ENS takes about a $ 5 Ethernet coins, plus point Gas costs

This paper uses a combination of "Browser + plug-wallet", we can also choose mobile wallet, such as imToken, it built ENS application (in fact, opened the official ENS Manager wallet built-in browser, the operating procedures, and herein said basically the same), you no longer need a separate browser.

Open my account Metamask Square in Ethernet  0xd5D17...CF2c, check account balances:

We use this account to domain name registration, domain name registration, etc. After the success, .eth registration will automatically put the account as a new domain name registrants and administrator at the end of this domain operation roles section, we will briefly introduce two function a role.

Query whether the domain name has been registered

Open ENS Manager Web site in the browser  https://app.ens.domains/ , then the site will be asked to square accounts Ethernet connection:

点击连接按钮后,进入到 ENS 管理器网站:

在页面左上角应该显示 Main Network,表示我们现在连接的是以太坊主网。如果不是,需要在 Metamask 切换当前连接的以太坊交易网络。

在页面中央那个醒目的文本框内输入想要注册的域名,目前只能注册 3 个及以上字符的域名,比如,我很想注册 nihao.eth 这个域名:

输入 nihao.eth 并点击 Search 按钮,查询一下这个域名当前的状态:

从查询结果中我们可以看到,REGISTRANT(即注册人)一栏是 0xAb48E...9d17,说明 nihao.eth 已经被账户 0xAb48E...9d17 注册了。很可惜,我朝思暮想的 nihao.eth 已经被人捷足先登,我只好另觅良缘。因为要注册一个用于 ENS 测试的域名,所以如果能注册到 ceshi.eth 也不错。

返回 ENS 管理器首页并输入 ceshi.eth

点击 Search 按钮,可以看到 ceshi.eth 是可以注册的!

上图中的加减号可以调整需要注册的时间(默认是 1 年),后面是根据当前以太坊与美元的汇率自动计算出来的租金。5 个字符及以上的域名价格约等于每年 5 美元,4 个字符的价格约为每年 160 美元,3 个字符的价格约为每年 640 美元。2 个字符和 1 个字符的域名还不能注册。这里我们保持默认,即注册时支付一年的租金。

图中的 Notify Me 按钮可以开启域名准备完毕的通知,点击于否都不影响注册(为了多演示一个细节,我点了)。

进行域名注册

确认域名可以注册后,可以看到上图中那段英文提示,意思是:

注册一个域名需要完成三个步骤:

    1. 请求注册。需要在钱包中确认一笔交易,这是完成域名注册所需的两笔交易中的第一笔。(LBB注:这笔交易没有转账只包含 Gas 费,用于向 .eth 注册器提交一个注册请求。)
    1. 等一分钟。需要等待一段时间,以确保其他人没有尝试注册相同的名字,同时也是在保护你的注册请求。
    1. 完成注册。点击 Register 按钮,并在钱包中再次确认一笔交易,只有在这次交易确认后,才能确定是不是成功注册了这个域名。

1. 请求注册

现在我们开始注册流程,点击页面上的 Request To Registrar 按钮发起注册请求,这时钱包会弹出一个窗口,要求确认第一笔交易:

点击确认按钮后,等待交易被打包(一般需要一两分钟,以太坊网络拥挤时或是Gas费偏低时可能要多等一会)。

2. 等一分钟

该交易被打包成功后,需要再等一分钟。一分钟过后,会显示如下界面,表示域名已经准备好了,这时浏览器会弹出一个通知(图中右下角的黑色方框,这个通知就是我们点击前面的 Notify Me 按钮以后才会有的)。

3. 完成注册

点击页面中的 Registrar 按钮,钱包会要求确认第二笔交易(这笔交易中包含了一年的租金):

点击确认后,等待第二次交易的被打包,该交易被打包成功后,绿色进度条走完,表示注册成功:

这个域名就注册完成了!点击 Manage Name 按钮可以进入域名管理页面:

这里可以看到,REGISTRANT 和 CONTROLLER (也就是注册人和管理员)都是 0xd5D17...CF2c 这个以太坊地址。

注意:现在还不能向 ceshi.eth 转账,我们必须先为 ceshi.eth 设置解析器和解析记录 才行。

域名操作角色

我们已经看到,域名注册成功后,系统会自动为这个域名分配两个角色:注册人和管理员。这里有必要解释一下这两种角色:

  • 注册人:就是这个域名真正主人的账户,他可以将域名过户给其他人(即注册人转让),也可指定其他账户成为其域名的管理员,但是,当他将其他账户指定为域名的管理员后,他就不能再设置域名的解析器和解析记录,这些操作必须由新的管理员账户来进行。
  • 管理员:顾名思义,是具有域名管理权限的账户,管理员可以进行管理员转让、解析器设置、解析记录设置等域名管理类的操作。管理员可以是一个普通账户,也可以是一个合约账户,通过在合约配置更丰富的域名管理规则来实现一些高级功能。

如果你有兴趣阅读到 ENS 中文文档(根据 ENS 官方文档 翻译而来)的内容,那一定要注意,我们在这里所说的 管理员 在文档中被称为 所有者。这是一个非常容易在文档中混淆的概念。

Guess you like

Origin www.cnblogs.com/cnliu/p/ens-register.html