> For the complete documentation index, see [llms.txt](https://docs.fathom.fi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fathom.fi/dao/user-guides/staking.md).

# Staking

To deposit and then withdraw your FXD in the Vault, follow the steps below:

* Go to Fathom [DApp](https://dapp.fathom.fi/#/dao/staking).
* Connect your Web3 wallet (such as [MetaMask](https://metamask.io/)) and make sure your network is set to the intended chain (i.e., [XDC](https://chainlist.org/chain/50)).

<div data-full-width="true"><figure><img src="https://2441370967-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fu8CvMeTMwSaHYwChGoRz%2Fuploads%2FMSwUxA6ERkNh94LO9G7t%2FScreenshot%202024-06-03%20at%203.19.46%20AM.png?alt=media&amp;token=557613e7-9086-4395-ac39-645bc4dfeb65" alt=""><figcaption></figcaption></figure></div>

* Enter the amount of FTHM you would like to deposit and lock period. During lock period you can't withdraw tokens without a significant penalty, but you will be receiving more rewards and voting power.
* Click "**Stake**"
  * You may be required to approve the FTHM transfer before the actual transfer (depending on your previous deposits).
  * Sign and send the transaction in your Wallet.
  * Wait for the transaction to be processed.
  * Once the transaction has gone through, you'll see your position in "**My Positions"** on the same page.

<div data-full-width="true"><figure><img src="https://2441370967-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fu8CvMeTMwSaHYwChGoRz%2Fuploads%2FUQagW3bJnP1B4J6a7Yix%2FScreenshot%202024-06-03%20at%203.22.11%20AM.png?alt=media&amp;token=a1bee3d3-d640-4c27-b7ec-b7cd961c7b29" alt=""><figcaption></figcaption></figure></div>

* If the lock period has passed for the position, you can "**Unstake**" without penalties. You can choose how many tokens you want to unstake.

<div data-full-width="true"><figure><img src="https://2441370967-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fu8CvMeTMwSaHYwChGoRz%2Fuploads%2FOf6hrwR1wraJmGhwdyXQ%2FScreenshot%202024-06-03%20at%203.26.10%20AM.png?alt=media&amp;token=8c45fc43-95b4-4d64-84dd-50b27497e490" alt=""><figcaption></figcaption></figure></div>

* Otherwise, you can use "**Early Unstake**", which will result in token loss. You can do it only for the full amount of the tokens minus the penalty.

<div data-full-width="true"><figure><img src="https://2441370967-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fu8CvMeTMwSaHYwChGoRz%2Fuploads%2FMUy9KiGSqNmFBDyUlEDU%2FScreenshot%202024-06-03%20at%203.25.29%20AM.png?alt=media&amp;token=dfcf2a2d-4d27-4b50-86fc-97d61a59061e" alt=""><figcaption></figcaption></figure></div>

* ATTENTION: Do not forget to claim accrued rewards before unstaking, otherwise you will loose them. Clock "Claim rewards" button and follow the process.
  * Sign and send the transaction in your Wallet.
  * Wait for the transaction to be processed.
* Click "**Yes, Unstake**"
  * You may be required to approve the vFTHM transfer before the actual transfer (depending on your previous deposits).
  * Sign and send the transaction in your Wallet.
  * Wait for the transaction to be processed.
  * Once the transaction has gone through, you'll see your position in "**My Positions"** has either changed, or disappeared. You will also see the "**Unstake Cooling Down**" notification and "**Cooldown in progress**" with timer.

<div data-full-width="true"><figure><img src="https://2441370967-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fu8CvMeTMwSaHYwChGoRz%2Fuploads%2FiJkk9Yy8VrCDsxquAY6E%2FScreenshot%202024-06-03%20at%203.29.44%20AM.png?alt=media&amp;token=7c3725e2-77b7-44e2-9792-83f1ff099d13" alt=""><figcaption></figcaption></figure></div>

* Wait for the cooldown period to pass. You can withdraw the unstaked and rewarded amount right after it. Clock "**Withdraw**" button.
  * Sign and send the transaction in your Wallet.
  * Wait for the transaction to be processed.


---

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.fathom.fi/dao/user-guides/staking.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
