ERC-7821: Minimal Batch Executor Interface

Motivation

With the advent of EIP-7702, it is possible for Externally Owned Account (EOA) to perform atomic batched executions.

We anticipate that there will be multiple EIP-7702 delegation accounts from multiple vendors. To enable frontends to be able to detect and prepare a batched transaction that works across multiple vendors, we will need a standardized interface for batched executions.

In the absence of such a standard, the vendors may choose to create their own proprietary implementations, causing ecosystem fragmentation.

This standard propose a minimal batch execution interface that is easily implementable, extensible, and performant. It also includes a signalling function for tell frontends that the account supports the standard.

Reference Implementation

A optimized implementation is available in Solady.

The ERC proposal has a more readable implementation.

1 Like

Actually, concatenation is the most extensible and performant batch ABI.

2 Likes