MegaBlobs Improve L2 UX by smoothening blob fees via a restaked relay!
Megablobs is a restaked relay that faciliates smooth blob pricing for L2's. We add blobs to blocks we receive from the builders by making a verifiable and slashable commitment on EigenLayer that block modification only changes type3 transactions. Block builders can focus on the MEV rich blocks while the relay includes these L2 blobs and smoothens the blob gas for L2's. It does so using two mechanisms. 1) Paying the proposer a small tip . 2) Timing the blob gas fees. This mechanism helps smoothen the gas spikes that results in bad l2 UX for users. Rollups can use us as insurance for choppy blob fees.
We use Kurtosis for our infra, the MEV package gives us an Ethereum validator, block builder, relay environment, so we modified Flashbots relay to add our blobs to the block that's being proposed. We also built UI using react and foundry for smart contracts. Since we are modifying the block, the block root has to be re-calculated at the relay level. this is on our to-do-list.
MegaBlobs work by creating a specialized relay that appends (and sometimes replaces) blob transactions within blocks sent to it by builders. The goal of the relay is a) give preferential blobspace to buyers of MegaBlobs bandwidth and b) to provide a TWAPed smoothed blob price to bandwidth buyers. It does this through the following mechanism:
n
number of blobs per period of time t
.feeRecipient
) such that it is the winning block. It does this to ensure that proposers will choose its block. In theory, this should require beating out the next best block by as little as 1 wei. This payment will be appended to the end of the block as a transfer to the feeRecipient
for that block.