> For the complete documentation index, see [llms.txt](https://sacred.gitbook.io/sacred-finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sacred.gitbook.io/sacred-finance/how-sacred-works/anonymity-set.md).

# Anonymity Set

### How Sacred keeps the transactions private:

Sacred enables the user to deposit funds into a mixer with one address, and redeem it with a different address breaking the on-chain link and obscuring the record on the blockchain from observers. This is possible thanks to zero-knowledge proofs.

**A detailed explanation of anonymity set:**

![](/files/DkWuEo6wFiFpyeXh7dhn)

For every deposit type (i.e., 1 WETH, 10 WETH, etc.) within Sacred, there is a Sacred Box that manages a set (collection) of all active user deposits of that denomination, from oldest to newest. In other words, an Anonymity Set is a group of entities with the same attributes, making them indistinguishable from each other in the context of an attacker. Tokens going into each respective Sacred Box contribute to and become part of the anonymity set. For withdrawals to be considered private, wait for at least 5-10 layers of deposits on top of the deposit to achieve maximal privacy.

As such, the anonymity set’s effectiveness depends on:

* The total amount of deposits&#x20;
* The volume of transactions

A vital incentive mechanism that supports larger anonymity sets is Incognito Mining. This incentive increases the level of privacy in each Sacred Box as it incentivizes users to put their liquidity into Sacred. Remember, the more deposits there are, the more depth within Anonymity Set and the stronger the Privacy Indicator (level).

**The community maintains Sacred’s Privacy and is rewarded for it both by earning yield from deposits and through** [**Incognito Mining**](/sacred-finance/tokenomics-1/incognito-mining.md)**!**

*Anonymity sets are integral to the overall privacy of Sacred’s ecosystem. Please check out the* [*Sacred Rules*](/sacred-finance/how-sacred-works/sacred-rules.md) *to maximize privacy when using Sacred!*


---

# 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 dynamically by asking a question.

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

```
GET https://sacred.gitbook.io/sacred-finance/how-sacred-works/anonymity-set.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
