# 使用 SNS

## 1. 使用 SNS 交易

Solana 域名服务得到了Solana上大多数，甚至可能是所有主流钱包的支持。 您可以在 [List of Integrations](broken://pages/vKstsMO2gIPwQl67c6l4) 找到很多的应用场景。使用 .sol 域名进行交易是最受欢迎的功能之一。

你可以直接使用 **.sol域名** 或 **推特用户名** 发送SPL代币和原生SOL，以来替代使用钱包地址进行转账。

<figure><img src="/files/cYmmNSwOd2otIKTIcPkc" alt=""><figcaption></figcaption></figure>

### 使用 .sol 域名交易

要使用他人的 .sol 域名向其发送代币，需要在接收者输入条中输入<kbd>`<domain_name>.sol`</kbd>。如果域名未注册，则显示如下。

<div><figure><img src="/files/Z889vKuf3DTWvdUnMzoy" alt=""><figcaption></figcaption></figure> <figure><img src="/files/rn51pYATCvnZffKYpHXc" alt=""><figcaption></figcaption></figure></div>

{% hint style="info" %}
**如果接收者是**`registersol`**, 你需要输入** `registersol.sol`
{% endhint %}

{% hint style="success" %}
**大多数钱包的使用方式都和这里描述的情况相同**
{% endhint %}

### 使用 推特 用户名交易

要使用某人的 Twitter 用户名向其发送代币，需要在 “接收者 ”字段中输入 `@<twitter_handle>`。如果您没有绑定推特用户名，则会显示如下。

<div><figure><img src="/files/qWUE1KmHUC60UrgPiHrz" alt=""><figcaption></figcaption></figure> <figure><img src="/files/IVSeVP1jOYj0CGWEsknF" alt=""><figcaption></figcaption></figure></div>

{% hint style="info" %}
**如果你打款的收款人是**`@myhandle` **你需要输入**`@myhandle`**而不是** `myhandle`
{% endhint %}

{% hint style="warning" %}
Twitter 用户名区分大小写
{% endhint %}

{% hint style="warning" %}
Twitter 用户名区分大小写。目前，只有 Solflare 支持通过 Twitter 用户名进行交易。
{% endhint %}

## 2. 使用SNS解析网站

### 2.1 站内解析器

前往你的域名收藏列表，点击你想要解析的域名。在“其他”部分点击“编辑”按钮，即可编辑该域名的记录。解析器支持以下几种类型：

1. **URL**：编辑“常规”部分即可设置。
2. **IPFS CID**。
3. **Arweave哈希**。

你可以根据需要选择相应的解析类型，并输入相应的信息

<figure><img src="/files/hYrvKIqrxteZm0Vmbekf" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**记录格式如下：**

1. **IPFS: `ipfs://<CID>` (e.g `ipfs://QmZk9uh2mqmXJFKu2Hq7kFRh93pA8GDpSZ6ReNqubfRKKQ`)**
2. **ARWV: `arwv://<HASH>` (e.g `arwv://KuB5jmew87_M2flH9f6ZpB9jlDv8hZSHPrmGUY8KqEk`)**
3. **URL: With the following format `url_to_your_website` (e.g `https://v2.sns.id`)**
   {% endhint %}

{% hint style="warning" %}
**如果您有多个记录设置，解析器将优先处理 url 部分，然后是 IPFS，最后是 ARWV**
{% endhint %}

设置好记录部分后，您就可以按以下格式浏览 SNS 网站了：`yourdomainname.sol-domain.org`.

### 2.2 Brave 示例

[Brave](https://brave.com/)浏览器的集成允许你原生解析域名。这意味着无需网关或扩展程序——只需在URL栏中输入你的.sol域名即可。

按照上述步骤，编辑域名的URL或IPFS记录部分。签署交易后，即可完成设置。

在Brave浏览器中，直接在地址栏输入你的.sol域名，即可看到你的网站被解析

<figure><img src="/files/sbrcwWLWxyJ4pRJNtvRx" alt=""><figcaption></figcaption></figure>

### 2.3 4Everland 示例

4EVERLAND托管服务支持SNS+IPFS，并为所有SNS所有者提供专用网关`4sol.xyz`。

要在IPFS上部署您的网站并关联您的域名，请按照以下步骤

#### Video tutorial for 4EVERLAND setup

{% embed url="<https://www.youtube.com/watch?feature=youtu.be&v=BeJhkDziu8A>" %}

### 2.4 Marlin Oyster  网关

Marlin Oyster同样允许你通过在你的.sol域名下的IPFS记录中追加任何IPFS URL来访问。设置过程极为简便。查看你的域名，下拉记录并用你的链接编辑IPFS记录。

当你已经完全设置好之后，就可以通过.place网关访问你的网站。例如，[https://builtonoyster.sol.place](https://builtonoyster.sol.place/)。

## [3. SNS Manager](https://www.xnft.gg/app/Dv4kgorqEdzjxFf1rRZajfFmnfWgXrhRdyXT2VxZeumv)

使用我们的智能 SNS 管理器建立和管理您的 web3 身份，展现您在链上的个性价值。


---

# 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://docs.sns.id/collection/chinese/shi-yong-sns.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.
