ERC-4337 Deep Dive
What Is ERC-4337?
Key Components
UserOperation
UserOperation {
sender Smart Account address
nonce Operation sequence number
initCode Code to create SA (if not yet deployed)
callData What to execute (transfer, swap, etc.)
callGasLimit Gas limit for execution
verificationGasLimit Gas limit for verification
preVerificationGas Gas before verification
maxFeePerGas Maximum gas price
maxPriorityFeePerGas Priority fee
paymasterAndData Paymaster data (if sponsored)
signature Owner's signature
}EntryPoint
Bundler
Paymaster
Transaction Flow
In Detail:
Lazy Deployment
CREATE2 — Deterministic Address
Batch Operations
ERC-4337 Advantages
Property
Regular Wallet (EOA)
Smart Account (ERC-4337)
Last updated
Was this helpful?
