# Staking

<figure><img src="/files/zqVl41YZdjpVy8dVOmLn" alt="" width="563"><figcaption></figcaption></figure>

The Spacy smart contract is designed to streamline the deposit and withdrawal of $SPACY tokens into a hot wallet, thus enabling users to acquire xSPACY tokens within the virtual layer. When a user deposits $SPACY, they engage a vesting mechanism embedded in the smart contract. The amount of xSPACY received is directly proportional to the chosen vesting period: the longer the vesting, the more xSPACY the user will obtain in exchange.

It is crucial to understand that the withdrawal of $SPACY tokens is permissible only after the pre-set vesting period has elapsed. Holding xSPACY not only entitles one to a share in the platform's revenue sharing but also grants governance rights, allowing holders to partake in significant decisions regarding the platform's future.


---

# Agent Instructions: 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:

```
GET https://spacy.gitbook.io/spacy/smart-contract/staking.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
