Skip to content

Commit

Permalink
feat: add diagrams
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanay Pant committed Jun 12, 2024
1 parent d634c0a commit 73d4579
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
Binary file added assets/diagram-7579.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/diagram-safe-7579.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion pages/advanced/erc-7579/7579-safe.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ import CustomCard from '../../../components/CustomCard'
# Safe and ERC-7579

<Callout emoji="⚠️">
The Safe7579 Adapter is under audit, with an estimated completion date of June xx, 2024.
The Safe7579 Adapter is under audit, with an estimated completion date of June 14, 2024.
</Callout>

The Safe7579 Adapter is a smart contract developed by Rhinestone and Safe to make Safe Smart Accounts compliant with ERC-7579. Through this, [14 audited modules](https://github.com/rhinestonewtf/modulekit/tree/examples/audit-ready/examples/src) developed by Rhinestone will be available for builders building with the Safe7579 Adapter, such as a dead man switch, flash-loan, social recovery, etc.

![diagram-safe-7579](../../../assets/diagram-safe-7579.png)

## How does the Safe7579 Adapter work?

As ERC-7579 is a superset of ERC-4337, the Safe7579 Adapter ensures full compliance with ERC-4337. The Safe7579 Adapter is both a Safe Module and a Fallback Handler.
Expand Down
2 changes: 2 additions & 0 deletions pages/advanced/erc-7579/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import CustomCard from '../../../components/CustomCard'

ERC-7579 is a standard for accounts but does not specify how accounts work internally. Instead, it defines the account interface so developers can implement modules for all smart accounts that follow this standard. The primary consumers of ERC-7579 are module developers, not account implementers. However, the account implementers implement ERC-7579 so that module developers can support all account implementations that implement this standard. That being said, a module for Safe will work with the Biconomy wallet, ZeroDev wallet, etc.

![diagram-7579](../../../assets/diagram-7579.png)

## Why ERC-7579?

Without ERC-7579, smart account implementations were fragmented as different implementations required unique adaptations. Different assumptions can lead to security bugs under one account implementation, creating barriers for developers and limiting the user experience. ERC-7579 offers a universal standard that ensures all modules can work across all smart account implementations supporting ERC-7579.
Expand Down

0 comments on commit 73d4579

Please sign in to comment.