> For the complete documentation index, see [llms.txt](https://yieldex.gitbook.io/yieldex-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://yieldex.gitbook.io/yieldex-docs/architecture/using-smart-wallets-erc-4337.md).

# 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" %}
