> For the complete documentation index, see [llms.txt](https://docs.rome.builders/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rome.builders/zh/rome-shang-de-ying-yong/privacy-dex.md).

# 隐私 DEX

Solana devnet 上的私密兑换、USDC 金库和限价单。

Privacy DEX 会在 Solana 上兑换代币，并将您收到的代币存入您的 Helius Privacy 私密余额中。A **私有余额** 保存着称为 **票据**，每条都包含一个代币和一个金额。应用会在浏览器中解密您的备注，因此您可以查看并使用您的余额。您的钱包会为支出该余额的交易签名。

Rome 的 **做市商** 提供您交易所需的代币，并提供 **报价**：用于兑换的已签名条款，包括金额、费用和到期时间。Rome 的托管程序会在 Solana 上完成交易结算前检查已签名报价和证明。

打开 [Solana devnet 上的 Privacy DEX](https://privacy-dex.devnet.romeprotocol.xyz). Helius Privacy 仍处于测试阶段。此版本仅在 Solana devnet 上运行。

## 您可以执行的操作

在交换卡上进行的市价兑换会在 Solana devnet 上将 USDC 兑换为 SOL。请选择 **钱包** 以支付公开 USDC 并接收私密 SOL。请选择 **私有余额** 以支付私密 USDC 并接收私密 SOL。该卡的 **限价** 该选项可在任一方向下单。

您还可以：

* 无需兑换即可将代币添加到您的私密余额中。
* 将资金转入钱包，或发送给其他人。
* 查看您的私密活动和兑换尝试。
* 将 USDC 存入金库以换取份额代币，您可以再将其兑换回 USDC。其价值自金库开始之日起按年增长 2%，采用单利增长。Rome 设定该利率并在 devnet 上承担其成本。该利率不会在链上强制执行，Rome 可以更改它。
* 在交易对的任一方向上挂出限价单，并取消未成交部分。

## 使用 Solflare 连接

使用 **Solflare** 适用于此版本。它支持 Privacy DEX 在 Solana devnet 上使用的版本 1 交易。它还会对用于派生您的私密账户密钥的消息进行签名。

本版本不支持 Phantom，因为它不会在 Solana devnet 上签署版本 1 交易。应用在连接钱包时要求使用该交易版本。

## 请选择指南

* [兑换与私密余额](https://docs.rome.builders/zh/rome-shang-de-ying-yong/privacy-dex/swaps.md) 涵盖报价、钱包授权、资金存入、发送、活动、解锁和备份。
* [金库](https://docs.rome.builders/zh/rome-shang-de-ying-yong/privacy-dex/vaults.md) 说明 vUSDC、利率以及存入或取出 USDC。
* [限价单](https://docs.rome.builders/zh/rome-shang-de-ying-yong/privacy-dex/limit-orders.md) 涵盖下单、撮合、费用和取消。
* [什么是私密](https://docs.rome.builders/zh/rome-shang-de-ying-yong/privacy-dex/what-is-private.md) 说明链上和各项服务能看到什么。

即使金额是私密的，您的地址仍然可见。通过钱包付款会暴露代币和金额。在决定如何为交易注资之前，请先阅读隐私指南。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.rome.builders/zh/rome-shang-de-ying-yong/privacy-dex.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
