MODULE 1 OF 4OFFICER

ERC-4337: The End of EOAs

~1 MIN READERC-4337: Account Abstraction & Smart Accounts

ERC-4337: Account Abstraction Architecture

Account Abstraction (AA) decouples the object that holds assets (the account) from the object that authorizes transactions (the signer).

The UserOperation (UserOp)

Instead of a standard transaction, users broadcast a UserOperation.

  • Sender: The smart account address.
  • CallData: The actual instruction to execute.
  • Signature: A signature that the smart account knows how to validate (can be ECDSA, biometric, or multisig).

The EntryPoint Contract

A singleton contract that acts as the universal gateway for all UserOps. It handles:

  1. Validation Loop: Ensuring the account can pay for the operation.
  2. Execution Loop: Performing the actual call to the target contract.

🛠 Tactical Activity: Decoding a UserOp

Objective: Identify the components of a smart account interaction.

  1. Use a tool like Jiffyscan to find a transaction on a chain like Polygon or Base.
  2. Task: Locate the UserOperation and identify the callData.
  3. Analysis: What contract is the EntryPoint on the chain you chose?