# Using Smart Wallets (ERC-4337)

Instead of direct interaction via EOA (regular wallets), a smart wallet ERC-4337 standard is used. This allows:

* **Delegate** certain operations (deposit/withdraw) to the On-chain Interaction module without disclosing private keys.&#x20;
* Strictly **limit** these operations by the duration, the list of allowed protocols, limits on amounts, etc.&#x20;
* **Maintain** control over the user: the user can revoke delegation rights at any time.

{% @mermaid/diagram content="graph TB
A\["User's EOA"] --> B\["ERC-4337 Smart Account"]
B --> C\["Session Keys"]
C -->|"Allowed Methods"| D\["Protocols"]
B --> E\["Permission Manager"]
E -->|"Manages"| C" %}


---

# 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://yieldex.gitbook.io/yieldex-docs/architecture/using-smart-wallets-erc-4337.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.
