# 合规工具

根据设计，区块链上的所有内容都是公开的，这可能会剥夺用户的隐私权。任何人都可以访问每个人的整个交易历史记录。为了解决这个核心问题，Tornado.Cash 协议允许加密货币持有者重新获得隐私并获得匿名性。事实上，它使用户能够打破源地址和目标地址之间的链上链接。

然而，维护隐私和维护财务自由绝不能以不遵守规定为代价。隐私权在于控制我们提供的信息以及向谁提供信息的能力。

在此范围内，**Tornado.Cash 合规工具使用户能够证明其资金来源。**&#x501F;助每次存款后生成的注释，此工具将使用用于存入和提取资产的以太坊地址**发出经过加密验证的交易历史证明。**

您可以访问与此工具相关的 Medium 帖子，以了解有关其开发和发布的更多信息：[**Tornado.Cash 合规性 Medium 帖子**](https://tornado-cash.medium.com/tornado-cash-compliance-9abbf254a370)。

因此，如果您需要证明从 Tornado.Cash 池中提取的资产的来源，我们邀请您使用以下[合规工具](https://tornadoeth.cash/compliance)👍

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

### 如何使用合规工具？ <a href="#how-to-use-the-compliance-tool" id="how-to-use-the-compliance-tool"></a>

每次通过[Tornado.Cash 应用程序](https://tornadoeth.cash/)存款时，协议都会生成一份新注释。此注释对于以后在任何提款地址提取存入的资产都是必需的。如果需要，此注释允许用户生成合规报告来证明其资产的来源。

*有关如何在 Tornado.Cash 上存入和提取资产的更多信息，请参阅：* [*存款和取款*](/tornado-cash-classic/cun-kuan-he-qu-kuan.md)*。*

要获得合规报告，用户只需将存款后生成的说明复制到专用箱中。

#### 提款前 <a href="#before-withdrawal" id="before-withdrawal"></a>

如果票据尚未被使用（即资产仍未被提取），合规工具将仅向您提供有关存款的信息：

* 存款的交易哈希；
* 源地址；
* 承诺哈希。

承诺是每次存款时生成的散列随机字节区域，发送到 Tornado.Cash 智能合约以表征交易。

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

[*您可以通过阅读 Tornado.Cash如何运作？*](/yi-ban-de/long-juan-feng-xian-jin-ru-he-yun-zuo.md)*找到有关 Tornado.Cash 如何实现提供隐私的更多信息。*

#### 退出后 <a href="#after-withdrawal" id="after-withdrawal"></a>

如果票据已被使用（即使用该票据将资产提取到指定地址），则合规工具将通过添加以下内容来完成上述信息：

* 提款交易哈希；
* 目的地址；
* 无效哈希。

无效哈希是一个公共输入，它被发送到链上，以便与智能合约和 Merkle 树数据进行检查，以允许提款。

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

因此，该工具允许用户重新链接源地址和目标地址，以证明 Tornado.Cash 上使用的资产的交易历史。

该信息还可以 PDF 格式下载，以便更轻松地发送给任何所需的第三方：

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


---

# 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-zh.tornadoeth.cash/tornado-cash-classic/he-gui-gong-ju.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.
