# Quick Start

## 在应用中使用/展示 .web3 用户名

如果需要在您的 App/dApp 中使用/展示 .Web3 用户名，则需要实现正向解析和反向解析功能；

**正向解析：**&#x901A;过 **.web3 用户名查询**到对应的区块链地址；通常用于提升转账和交易的便捷性；

* 比如：转账时用户通过输入 xxx.web3，即可向其解析到的区块链地址转账；

**反向解析：**&#x901A;过**区块链地址**查询到对应的 **.web3 用户名**；通常用于作为地址昵称、社交昵称的展示；

* 比如：在用户账户中心或好友列表中，不再展示复杂的地址，而是以 .web3 用户名作为昵称；

实现正反向解析，请参阅：

{% hint style="danger" %}
为了解决一些容错性的问题，我们对反向解析做了些调整和优化，详情请参阅 PublicResolver 文档
{% endhint %}

{% content-ref url="/pages/4z7mzhaSuQ87R1p2vrrN" %}
[PublicResolver](/.web3-username-docs/contract-api-reference/publicresolver.md)
{% endcontent-ref %}

## 在应用中支持 .web3 用户名注册与售卖

我们提供了便捷的 API 方便大家接入 .web3 用户名的注册与售卖；

* 您需要自行接入支付渠道，并完成收款流程；

详情请参阅：

{% content-ref url="/pages/kn1rZEQu2WPS5uo0xRvf" %}
[CNS-Open-Service](/.web3-username-docs/third-party-intergation/cns-backend.md)
{% endcontent-ref %}

## 易于开发

请参考：

{% content-ref url="/pages/udduASOFGRUv0EMw7IbJ" %}
[DApp Integration Demo](/.web3-username-docs/easy-development/dapp-integration-demo.md)
{% endcontent-ref %}

{% content-ref url="/pages/AIUJDww6z3aHsXCBgl2q" %}
[CNS Util Tools](/.web3-username-docs/easy-development/cns-util-tools.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://web3-username.gitbook.io/.web3-username-docs/dev-tutorial/quick-start.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
