# Deposit/withdraw

## Deposit

To deposit, a secret key is generated and the user will submit its hash along with the deposit amount to the Secura Shield smart contract. The contract will then accept the deposit and will add a commitment to the list of deposits.<br>

## Withdraw

To withdraw, proof of possession of a key to an unspent commitment from the contracts deposit list is required, zkSnark technology allows the user to prove they know the key without revealing it. Secura Shield's smart contract will check the proof and then transfer the funds for withdrawal to a specified Arbitrum Address.


---

# 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://ezfi.gitbook.io/secura/secura-shield/deposit-withdraw.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.
