framilier

Framilier gives wallets a fair turn when an alternative mempool verifies EIP-8141 transactions.

framilier

Created At

ETHGlobal Mumbai

Project Description

What happens when one wallet sends eight expensive transactions just before another wallet sends one cheap transaction? If the node starts checking transactions in arrival order, the second wallet can wait behind the entire burst. Framilier lets Ethereum alternative-mempool operators give each sender a turn and measure what that choice costs.

In a local benchmark with two wallets paying their own fees and 20 rounds per policy, switching from first-come, first-served scheduling to sender rotation reduced the second wallet’s 95th-percentile admission time from 678 ms to 238 ms. The busy wallet’s median batch time increased from 593 ms to 622 ms.

At framilier.dev, you can see exactly when the second wallet got a turn, inspect the transaction receipts, and explore a second scenario where both wallets use the same gas sponsor.

How it's Made

We extended the Ethereum Foundation’s alternative-mempool workshop sidecar with a TypeScript scheduler. Before ethrex simulates an EIP-8141 frame transaction, the scheduler chooses the next check from queues grouped by sender. Our benchmark gives the node four simulation slots and allows one sender to occupy up to two of them with expensive checks.

The Framilier CLI submits the same signed transactions on fresh private ethrex chains under three policies: scheduling off, first-come first-served, and sender rotation. A Solidity wallet verifies a Keccak hash chain that consumes about one million VERIFY gas. We record when each simulation starts and when the sidecar admits each transaction, then check the mined receipts separately.

For the sponsored scenario, each wallet signs its own transaction and a shared staked paymaster authorizes payment in a separate VERIFY frame. We check that both wallets’ receipts name the same payer and that the fees add up to the change in its balance. This lets us test the distinction at the heart of that demo: two wallets can share a gas sponsor and still get separate turns.

background image mobile

Join the mailing list

Get the latest news and updates

framilier | ETHGlobal