Skip to content

Commit

Permalink
Add text description to sequence diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
akshay-ap committed Mar 14, 2024
1 parent 0ae76a3 commit e9f7634
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/passkey/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ SP->>+T: Perform transaction
end
```

ERC-4337 outlines specific storage access rules for the validation phase, which limit the deployment of SafeProxy for use with the passkey flow. To navigate this restriction, in the `initCode` of UserOp, a SafeProxy is deployed with SafeSignerLaunchpad as a singleton. The SafeSignerLaunchpad is used to validate the signature of the UserOp. The SafeSignerLaunchpad forwards the signature validation to the WebAuthnVerifier, which in turn forwards the signature validation to the P256Verifier. The P256Verifier is used to validate the signature.

During the execution phase, the implementation of the SafeProxy is set to the Safe Singleton along with the owner as signer contract deployed by SafeSignerLaunchpad.

## Security and Liability

All contracts are WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Expand Down

0 comments on commit e9f7634

Please sign in to comment.