💡
.Web3 Username DOCS
  • User Tutorial
    • 什么是 .web3 用户名
    • 如何注册 .web3 用户名?
    • 必须要知道关于正向解析和反向解析
  • Dev Tutorial
    • Introduction
    • 💡Quick Start
    • CNS Deployments
    • FAQs
  • Contract API Reference
    • Name Processing
    • Registry
    • ReverseRegistrar
    • PublicResolver
    • .web3 Permanent Registrar
      • Registrar
      • Controller
    • NameWrapper
  • Third Party Intergation
    • CNS-Open-Service
    • Open Service APIs
      • Cns-Backend-API Swagger UI
      • Cns-Backend-API Postman Collection
  • Other
    • Changelog
  • Source Code
    • cns-contracts
    • web3ns.js
    • address-encoder
  • Easy Development
    • 🛠️DApp Integration Demo
    • 🛠️CNS Util Tools
由 GitBook 提供支持
在本页
  1. Dev Tutorial

Introduction

上一页必须要知道关于正向解析和反向解析下一页Quick Start

最后更新于2年前

The Conflux Name Service (CNS) is a distributed, open, and extensible naming system based on the Conflux blockchain.

CNS’s job is to map human-readable names like ‘alice.web3’ to machine-readable identifiers such as Conflux addresses, other cryptocurrency addresses, content hashes, and metadata. CNS also supports ‘reverse resolution’, making it possible to associate metadata such as canonical names or interface descriptions with Conflux addresses.

CNS has similar goals to DNS, the Internet’s Domain Name Service, but has significantly different architecture due to the capabilities and constraints provided by the Conflux blockchain. Like DNS, CNS operates on a system of dot-separated hierarchical names called domains, with the owner of a domain having full control over subdomains.

Top-level domains, like ‘.web3’ and ‘.test’, are owned by smart contracts called registrars, which specify rules governing the allocation of their subdomains. Anyone may, by following the rules imposed by these registrar contracts, obtain ownership of a domain for their own use.

Because of the hierarchal nature of CNS, anyone who owns a domain at any level may configure subdomains - for themselves or others - as desired. For instance, if Alice owns 'alice.web3', she can create 'pay.alice.web3' and configure it as she wishes.

CNS is deployed on the Conflux main network and test networks.

You can try CNS out for yourself now by using the CNS Manager App, or by using any of the many CNS enabled applications on our homepage.

CNS contracts is forked from ENS, and is fully compatible with ENS.

Currently CNS's top domain is .web3

CNS Architecture

CNS architecture is same as .

ENS's architecture