> For the complete documentation index, see [llms.txt](https://docs.ante.finance/ante/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ante.finance/ante/getting-started/how-ante-works/staking.md).

# Staking

### What is staking?

Staking an Ante Test signals trust in the tested guarantee, putting your money where your mouth is!

If the test continues to pass, you can potentially earn rewards over time.

However, if the test fails, you will lose your entire stake.

### How do staker rewards work?

Challenger capital undergoes continuous decay over time (by default, this is \~100% of challenger capital per year). This decay is allocated to stakers and is automatically added to your stake amount.

<figure><img src="/files/hpqp4NW2RurZHdUBBwuO" alt=""><figcaption><p>Stakers are rewarded over time for their continued trust</p></figcaption></figure>

Potential rewards vary with pool activity, but as a rough estimate,

$$
potential,rewards \approx \frac{stake\_{user}}{stake\_{total}} \cdot challenge\_{total}\cdot \left(1-(1-decay,rate)^{n}\right)
$$

Note: if there are no challengers in the pool, no decay rewards are generated.

#### Example:

Take the following scenario:

$$
\begin{align\*} \text{your stake} &= \text{1 WETH} \ \text{total stake} &= \text{20 WETH} \ \text{total challenge} &= \text{2 WETH} \ \text{decay rate} &= \text{20% per year} \end{align\*}
$$

$$
\begin{align\*} potential,rewards &\approx \frac{\text{1 WETH}}{\text{20 WETH}} \cdot \text{2 WETH} \cdot \left(1-(1-0.20)^{1}\right) \ \ &= \text{0.02 WETH over 1 year} \end{align\*}
$$


---

# 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://docs.ante.finance/ante/getting-started/how-ante-works/staking.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.
