> 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 版交易。应用在连接钱包时需要该交易版本。

## 选择指南

* [兑换和私密余额](/zh/rome-shang-de-ying-yong/privacy-dex/swaps.md) 涵盖报价、钱包授权、充值、发送、活动、解锁和备份。
* [金库](/zh/rome-shang-de-ying-yong/privacy-dex/vaults.md) 说明 vUSDC、利率，以及存入或取出 USDC。
* [限价单](/zh/rome-shang-de-ying-yong/privacy-dex/limit-orders.md) 涵盖下单、撮合、费用和取消。
* [什么是私密](/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.
