EIPs Explained

ERC-8286 · Draft · ERC · 2026-06-04

ERC-8286: Modular Accounts for Frame Transactions

Extends ERC-7579 modular smart accounts to EIP-8141 frame transactions: validator modules return an approval mode that the account applies with the protocol's APPROVE instruction.

What problem does it solve?

ERC-7579 gives smart accounts a shared module system: validators, executors and hooks written once can be installed in many wallets. Its validation flow, though, is built around ERC-4337 and its validateUserOp call.

EIP-8141 proposes native account abstraction through frame transactions: a transaction is split into frames, a VERIFY frame lets the account check the transaction and call a new APPROVE instruction, and SENDER frames then act on the account's behalf. Without a common standard, every wallet would need a separate module ecosystem for this. ERC-8286 adds just the EIP-8141 validation flow on top of ERC-7579, so the same module ecosystem can serve both.

How it works

  • Approval mode. Validation produces a uint8 matching EIP-8141's APPROVE scope: bit 0 = pay gas, bit 1 = let later frames execute as the account. That gives APPROVE_NONE (0), APPROVE_PAYMENT (1), APPROVE_EXECUTION (2) and APPROVE_EXECUTION_AND_PAYMENT (3).
  • Frame validator module. A new ERC-7579 module type (id 11, still marked TBD) implementing validateFrame(bytes data) view returns (uint8). Context such as the signing hash and frame index must be read with EIP-8141 introspection opcodes, not taken as arguments, so a caller cannot fake it. It returns APPROVE_NONE on failure.
  • Account flow in a VERIFY frame (verify(bytes)): read the frame's allowed scope, pick an installed frame validator, call it, mask the result with the allowed scope, drop the execution bit if the SENDER frames use an unsupported execution mode, then call APPROVE, or do nothing so the transaction is invalid.
  • Execution route. The account declares one route via executionRoute(): protocol-dispatched (SENDER frames call targets directly, so all policy must be enforced during validation) or contract-dispatched (every SENDER frame must target the account itself, which runs ERC-7579 execute and its hooks).
  • New callType values (also TBD) describe single vs. batched and atomic vs. independent SENDER frames for supportsExecutionMode.
  • supportsApprovalMode(uint8) advertises which modes the account can grant.

Sample code

The new interfaces (simplified):

// SPDX-License-Identifier: CC0-1.0
pragma solidity ^0.8.24;

interface IFrameValidator /* is IERC7579Module */ {
    // Reads tx/frame context via EIP-8141 introspection; MUST NOT modify state.
    function validateFrame(bytes calldata data) external view returns (uint8 approvalMode);
}

interface IERC8286FrameAccount /* is IERC7579AccountConfig, IERC7579ModuleConfig */ {
    function verify(bytes calldata data) external returns (uint8 approvalMode);
    function supportsApprovalMode(uint8 approvalMode) external view returns (bool);
    function executionRoute() external view returns (uint8); // 0 = protocol, 1 = contract
}

The account's verify logic as pseudocode (EIP-8141 opcodes are not yet available in Solidity):

frameIndex   = TXPARAM(0x0A)
allowedScope = FRAMEPARAM(frameIndex, 0x06)
validator    = selectInstalledFrameValidator(data)        // type id 11
mode = validator.validateFrame(validatorData) & allowedScope
if mode has EXECUTION bit:
    if any SENDER frame mode unsupported:            mode &= APPROVE_PAYMENT
    if route == CONTRACT and any SENDER target != self: mode &= APPROVE_PAYMENT
if mode == APPROVE_NONE: revert                            // tx invalid
APPROVE(mode)

Things to know

  • Status: Draft, and it builds on EIP-8141 and ERC-7579, which are both drafts too. Module type id and callType values are explicitly TBD.
  • Approving execution is a one-shot, transaction-wide grant: every later SENDER frame runs as the account without further checks. Spending limits, allow-lists and similar policy must be checked before approving.
  • A DEFAULT frame can call the account with msg.sender == ENTRY_POINT without any approval, so that caller alone must never authorize verify or execute.
  • An installed validator is fully trusted; installing one should be protected like any other critical account change.

#account-abstraction #modular-accounts #smart-wallets #frame-transactions

Details

Authors
Chiranjeev Mishra (@chiranjeev13), Pedro Gomes (@pedrouid), Alex Forshtat (@forshtat)
Status
Draft
Type
Standards Track / ERC
Created
2026-06-04
Requires

Machine-readable: Markdown · JSON