Build your own domain name service based on the PolygonL2 layer solution

Build your own cool domain name service based on the PolygonL2 layer solution

poster-normal

On Twitter, we can often see many very cool and personalized digital wallet account addresses ending in .eth/.sol. Is it very cool, so how is it achieved? How is it different from our current Internet domain names?

In the course "Building Your Own Domain Name Service Based on the PolygonL2 Layer Solution", you will be told how to implement your own exclusive domain name resolution service, such as a domain name ending in .music.

The whole process can be divided into three steps:

Use Solidity to write a domain name resolution contract;

Publish the contract to the L2 layer public chain, namely Polygon;

Build your own domain Mint website.

Finally, anyone can create their own exclusive domain name based on your Web3 website.

For this set of tutorials, it is divided into 5 chapters and 15 sections. From conceptual elaboration, to tool use, to project construction, to code completion, to actual deployment, I will teach you how to implement step by step.

Content outline:

Chapter 1. Course Preparation

Lv1. What is Ploygen?

Lv2. What is ENS

Chapter 2. Writing Domain Name Resolution Contract

Lv3. Build a local Ethereum chain environment

Lv4. Write basic smart contracts

Lv5. Write domain name resolution contract

Lv6. Sell ENS domain name

Lv7. Publish the contract to the testnet Mumbai

Chapter 3. Building a domain name Web3 website

Lv8. Build React application

Lv9. Add button to connect blockchain wallet

Lv10. Add Mint function logic

Chapter 4. Fund withdrawal and contract optimization

Lv11. Fund withdrawal

Lv12. Contract improvement and optimization

Chapter 5. End of Course

Lv13. Display wallet address and blockchain network

Lv14. Display Mint domain name

Lv15. Security recommendations and metadata storage transformation

Part of the course content:

The left side is the outline, and the content on the right side is not necessarily. There is no video in this set of courses, so the part on the right is either a learning document or an online IDE tool. Depends on the specific chapter content.

WX20220915-150642@2x

From the shallower to the deeper, step by step explanation, and some tips for stepping on the pit.

WX20220915-150858@2x

Like this section, the right side is the online IDE. You can write code, debug the program, and run the program on the IDE tool on the right according to the teaching document on the left.

WX20220915-151004@2x

Click the View Answer button on the upper left to view the complete code. After running, check the effect.

WX20220915-151220@2x

If you encounter problems, or want to express something, you can discuss it here.

WX20220915-151344@2x

If you are interested in this, welcome to learn this set of courses. (Recognize the QR code in the picture below to jump to the course link).

insert image description here

Guess you like

Origin blog.csdn.net/hanru723/article/details/126884656