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

# Staking and Unstaking

With the flexible deposit option, users can stake their $OPEN tokens and have the freedom to unstake, restake, or sell their tokens at any time.&#x20;

The earnings from staking are released proportionally when the user unstakes.&#x20;

Users can also accelerate the release speed of their earnings by using the protocol contribution value tokens, $OPX

On the other hand, the fixed deposit option allows users to stake their $OPEN tokens for a specific duration, such as 90 days or 360 days.&#x20;

If a user breaches the staking contract before the maturity date, the interest will be calculated based on the flexible deposit and withdrawal interest rate.&#x20;

Additionally, a 20% fee will be deducted from the staked principal as a breached contract fee, which is allocated to the treasury as an asset
