Ephemeral Rollups (ERs) Overview
- Ephemeral Rollups (ERs) are session-limited, horizontally scalable runtimes on Solana that enable real-time, gasless, fully on-chain applications with strong composability.
- They leverage configurable tick intervals, delegated account execution, and ZK-validity proofs to ensure rapid settlement and trust minimization on the Solana base layer.
- The ER model maintains atomic composability by preserving state integrity on L1 while integrating off-chain execution with rigorous economic and security guarantees.
Ephemeral Rollups (ERs) are horizontally-scalable, session-limited runtimes built atop the Solana Virtual Machine (SVM), enabling high-frequency fully on-chain (FOC) applications—particularly games—with zero-fee transactions, configurable ticking logic, and strong composability guarantees. Unlike traditional L2s or app-chains that fragment state, ERs preserve the integrity of the Solana base layer, executing only against temporarily delegated accounts while enforcing provable validity and fast settlement back to L1. By combining configurable runtimes, state delegation, and ZK-verifiable execution traces, ERs deliver scalable application throughput without sacrificing atomic composability or trust minimization (Picco et al., 2023).
1. Formal Structure and Session Definition
An Ephemeral Rollup is formally defined as a session on Solana, parameterized by:
- : the on-chain program (game logic),
- : subset of accounts delegated to the session,
- : session identifier,
- : tick interval (ms),
- : max settlement frequency (Hz),
- : optional session gas budget.
The tuple is
Within , only transactions exclusively writing to are permitted; state updates proceed at block time 0; at each 1 interval (or on demand), the sequencer posts a state diff to L1. If cumulative session gas exceeds 2, the session is force-closed and all updates revert (Picco et al., 2023).
2. Architecture, Lifecycle, and Workflow
Key ER lifecycle steps:
- Program 3 invokes 4 to request a new session via a delegation program (DLP), specifying session parameters.
- An off-chain Provisioner spins up a customized SVM runtime instance with tick rate 5 and budget 6.
- 7 delegates control of 8 to the ER sequencer.
- Client transactions are routed by an RPC router: if their writable set 9, they reach the ER; otherwise, they are forwarded to L1 Solana.
- At each settlement interval, the ER sequencer submits a batched L1 transaction to update 0.
- On session expiry or closure, runtime shuts down and account control returns to 1.
ERs employ SVM "forks" with custom schedulers and fee rules. Accounts correspond to ECS (Entity-Component-System) components; programs are ECS systems. ER SVM instances retain bytecode and execution semantics identical to the base-layer, including parallel execution and PDA addressing (Picco et al., 2023).
3. Scalability, Tick Management, and Composability
ERs can drastically reduce per-instance block time, e.g., 2 ms, matching or exceeding Solana's base throughput 3 TPS with block time 4 ms. Running 5 ERs in parallel yields aggregate throughput
6
Each ER's tick interval 7 is fully configurable, supporting fine-grained event scheduling without per-tick gas fees. For applications such as real-time games, this facilitates millisecond-level updates for delegated state. Importantly, ERs maintain atomic composability: delegated accounts 8 are always readable L1-side, and any on-chain program can be invoked from either ER or base-layer context as long as non-delegated accounts are unaffected—contrasting sharply with composability loss typical in sharded or bridged L2s (Picco et al., 2023).
4. Security Guarantees and Settlement
Upon session closure, the ER sequencer generates a validity proof 9 (using frameworks such as RISC0), which a single L1 transaction verifies before finalizing diffs. Two execution guarantees are provided: a "fast path" (optimistic, minimal delay) and a "proof path" (ZK-validity at L1). Rollback safety is enforced via timeout 0, after which any user can force undelegation and revert state. This trust-minimized model sharply reduces the risk associated with off-chain execution compared to many L2s, while ensuring that the ER's impact remains strictly limited to delegated accounts (Picco et al., 2023).
5. Fee Model, Gasless Transactions, and Economic Structure
All writes within 1 during an ER session are zero-fee: Solana L1 fees are paid solely by the sequencer when posting state diffs. Each session requires a deposit 2 staked in the DLP: every batch settlement 3 deducts from 4, and violation of 5 closes the session. This structure enables gasless user experience within the ER scope, while still ensuring L1 fee coverage and economic accountability (Picco et al., 2023).
6. Comparison to L2 Solutions and State Fragmentation
App-chains and L3s incur state fragmentation, with atomic cross-app composability lost and only bridge-mediated coordination possible; ERs instead preserve all programs/assets on Solana L1, achieving throughput comparable to app-chains yet maintaining composability at full fidelity:
- App-chain throughput 6 ER throughput
- App-chain composability 7; ER composability 8
This compositional integrity is a distinguishing structural property, critical for use cases—such as open gaming or DeFi protocols—relying on atomic multi-program interactions (Picco et al., 2023).
7. Concrete Example, Session Programming, and EIP-4844 Context
A representative use case is a multiplayer game with per-player positions delegated as PDAs, session-tick 9 ms, and position updates handled every tick. Movement transactions occur gasless and off-chain until L1 settlement; cross-cutting actions (e.g., NFT claims) pass via the RPC router to L1 if target accounts are not delegated. Example pseudocode provided in (Picco et al., 2023) illustrates tick-based logic. In the EIP-4844 setting, an explicit rollup cost model quantifies blob-posting trade-offs, determining a threshold 0 transaction rate above which ephemeral blobs are optimal and formalizing cost-sharing via Nash bargaining for shared blob usage (Crapis et al., 2023).
| Feature | ERs | App-chains |
|---|---|---|
| Composability | 1 (L1-preserved) | 2 (fragmented) |
| Execution environment | SVM fork, identical bytecode | Isolated VM |
| Fee model | Gasless for delegated accounts | App-specific |
| Security | L1 enforcement, ZK session proofs | Bridge/layer-specific |
The ER model enforces explicit, delay-bounded, and verifiable settlement with public cost/performance tradeoffs, supporting rigorous throughput, latency, and economic guarantees, and offers a paradigm for scalable FOC applications without the drawbacks of fragmentation or trust dilution (Picco et al., 2023, Crapis et al., 2023).