Skip to content

erc7579/erc7579-implementation

Repository files navigation

ERC-7579 Reference Implementation

Reference Implementation to Minimal Modular Smart Account (ERC-7579).

Usage

Installation

pnpm i

Account flavors

The reference implementation provides two account flavors:

  • MSABasic: A basic modular smart account that supports the minimal set of features required to be compliant with the ERC-7579 standard.
  • MSAAdvanced: A modular smart account that supports the mandatory ERC-7579 features, delegatecall executions and the optional hook extension.

Note: The reference implementation is required to make some choices that are left open by the standard, such as how validators are encoded. The interface that is required by the ERC, without any additions, can be found in IERC7579.sol.

Security Note

The contracts in this repository are not audited. We advise against using this in production.

Credits

Authors ✨


zeroknots (rhinestone)

📝

Konrad (rhinestone)

📝

taek (ZeroDev)

📝

filmakarov (Biconomy)

📝

Elim (OKX)

📝

Lyu (OKX)

📝