> For the complete documentation index, see [llms.txt](https://aphid-ai.gitbook.io/aphid-ai-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aphid-ai.gitbook.io/aphid-ai-docs/glossary/staking.md).

# Staking

**Staking** refers to locking [cryptocurrency tokens](/aphid-ai-docs/glossary/blockchain/token-cryptocurrency.md) into digital contracts, known as smart contracts. While they are locked in the contract, they are inaccessible to their owner until they are unlocked.

This is useful because it introduces a new way for things to be free, with no cost. Instead of paying for temporary access to things like hotel rooms, movies, and planes, any such service can instead require a staked amount of tokens. While tokens are staked, the contract allows the tokens to be used in decentralized finance to earn interest over time.

### Slashing

**Slashing** refers to punishing a bad actor by taking some of their staked tokens away. The rules about slashing vary between different contracts.

### Staking in Aphid

In the Aphid app, users stake [BION tokens](/aphid-ai-docs/glossary/bion-token.md) to gain access to work [Environments](/aphid-ai-docs/glossary/environment.md). Their staked BION is returned to them after a period of time (the time period is defined in the smart contract). If a human or a Clone acts nefariously within an environment, some portion of their staked BION is slashed.


---

# 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://aphid-ai.gitbook.io/aphid-ai-docs/glossary/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.
