5afe / safe-core-protocol-specs

Safe{Core} Protocol is an open, modular framework to make smart accounts secure, portable, and composable.
GNU General Public License v3.0
66 stars 13 forks source link

4337 signature flow #64

Closed nlordell closed 11 months ago

nlordell commented 11 months ago

Fixes #59

This PR documents the research around ERC-4337 flows, in particular including signature validation flow.

Most of the rationale for decisions captured in the specification itself (well, should be in principle šŸ˜…). Some of the working assumptions when implementing this specification are:

  1. We want 4337 to be implemented over the Safe{Core} Protocol; that being said, requiring accounts to implement 4337 natively is a viable alternative (one that ERC-6900 takes for example)
  2. We do not want to require a staked paymaster for user operations over the Safe{Core} Protocol.
nlordell commented 11 months ago

@rmeissner - Iā€™m merging this to not be blocked for the sprint. I also captured some additional open questions regarding signature validation use cases which I believe are important to be answered to better refine a signature flow in the spec: https://github.com/safe-global/safe-core-protocol-specs/issues/63