What ERC4337 adds to Ethereum
On Ethereum, only an externally owned account (EOA) can start a transaction and pay its gas. A contract wallet with multisig, recovery, or spending rules still needs an EOA to trigger it. ERC4337 works around this without changing the protocol by adding a parallel transaction pipeline:1
User signs a UserOperation
The smart account’s owner signs a UserOperation, a transaction-like request.
2
Bundler collects it
Bundlers watch a separate mempool and pack UserOperations into one transaction.
3
EntryPoint validates
A singleton contract calls each smart account to check the signature and rules.
4
Paymaster pays
An optional paymaster contract covers the gas, then the call executes.
ERC4337 components on Solana
Solana needs no parallel pipeline. Each ERC4337 component maps to a transaction field or a program you write.| ERC4337 | Solana | How it maps |
|---|---|---|
| UserOperation | A transaction | A regular transaction already carries several instructions and signers. |
| Bundler and alt mempool | Not needed | An RPC node forwards the transaction to the current and upcoming leaders. |
| EntryPoint contract | The runtime | The runtime verifies every signature and passes signer privileges to the programs the transaction calls. |
| Paymaster | Fee payer | Any account owned by the System Program can sign as fee payer. It does not have to be the user. |
| Smart account | A wallet program with PDAs | A program holds assets in addresses it derives and signs for them when its rules pass. |
| Batched calls | Several instructions | One transaction runs its instructions in order and atomically. |
| Session keys | A scoped key in wallet state | The wallet program stores a temporary key with limits and checks them on each instruction. |
| Passkey signers | Signature verification programs | A wallet program can accept secp256r1 signatures by checking the signature verification instruction in the same transaction. |
Sponsor fees without a paymaster
Every Solana transaction names a fee payer, and it is always the first signer. To sponsor a transaction, your service sets its own account as the fee payer. The user needs no SOL for the fee, and the sponsor can also fund the rent deposit for any account the transaction creates.1
App builds the transaction
It sets the sponsor as fee payer and adds the user’s instructions.
2
User signs
The user’s signature authorizes moving their assets.
3
Sponsor signs
The sponsor’s signature authorizes paying the fee.
4
Send
The network charges the fee to the sponsor’s account.
Validate before you sign as fee payerA sponsor that signs anything a client sends can be drained. Check what the
transaction does, limit the programs and amounts it may touch, and rate-limit
each user. Kora is a fee-payer service that
applies these checks.
Build a smart wallet with PDAs
The Solana counterpart of an ERC4337 smart account is a program that controls Program Derived Addresses (PDAs). A PDA has no private key. Only the program that derived it can sign for it, through a cross-program invocation withinvoke_signed.
One wallet program serves every user. Each wallet is a set of accounts.
The rules that ERC4337 accounts implement invalidateUserOp live in the wallet
program’s instructions:
- Multisig: require a threshold of the stored owners to sign before the program signs for the vault.
- Spending limits: track amounts per period in wallet state and reject instructions that exceed them.
- Recovery: let guardians replace the owner keys after a delay.
- Session keys: accept a temporary key for a limited set of instructions until it expires.
A program cannot start a transactionAn external signer always submits and pays for the transaction: the user, a
relayer, or a backend service. The wallet program acts when that transaction
calls it.
Side by side
| Category | Ethereum with ERC4337 | Solana |
|---|---|---|
| Where it lives | A standard on top of the protocol: bundlers, EntryPoint, paymasters | Transaction format and runtime |
| Who pays fees | The account, or a paymaster contract | Any System Program account that signs as fee payer |
| Batching | The smart account executes a batch | Several instructions in one transaction |
| Custom validation | validateUserOp in each smart account | Checks in a wallet program before it signs for a PDA |
| Code and state | Together in the smart account contract | A shared program plus per-wallet accounts |
| Starting a transaction | A bundler submits for the account | An external signer submits |