MEV Rebels Protocol

Live DeFi Launched October 2024
TypeScript Solana DAO

MEV Rebels: Stealing From the Robots, Giving to the People

MEV is a dirty word in crypto. Maximal Extractable Value — the profits that sophisticated bots make by front-running your transactions, sandwiching your trades, exploiting every millisecond of advantage. Its billions of dollars extracted from regular users by algorithms faster than human comprehension.

I hated it. Then I thought — what if we stole it back?

The Uncomfortable Truth

Heres the thing about MEV on Solana: its not going away. The architecture enables it. Validators see pending transactions. Fast bots exploit that visibility. You can cry about it, you can build privacy solutions, or you can play the game.

MEV Rebels chose option three — but with a twist. Instead of MEV profits flowing to anonymous bot operators, what if they flowed to a community treasury? What if holding a token meant sharing in the extraction? What if the people being exploited became the exploiters?

Controversial? Absolutely. But also... kind of brilliant?

The Protocol Design

The architecture has three layers:

Detection Engine — Real-time mempool monitoring watching for arbitrage opportunities, liquidation events, sandwich setups. The same stuff the predatory bots look for, but running on protocol-owned infrastructure.

Execution Layer — Sub-second execution using protocol capital. When an opportunity appears, the contracts capture it before competitors can. Speed is everything. We optimized for latency until the code was almost unreadable, then optimized more.

Distribution Contracts — This is where it gets interesting. Anchor programs that automatically split profits:

  • 70% to token holders, proportional to holdings
  • 20% to validators supporting the protocol
  • 10% to development fund for continued building

No manual intervention. No trust required. Just math and smart contracts.

DAO Governance That Actually Works

Most DAOs are theater. Whales control everything, small holders are noise. We implemented quadratic voting specifically to prevent this. Your voting power scales with the square root of your holdings, not linearly.

Own 100 tokens? 10 votes. Own 10,000 tokens? 100 votes, not 10,000. This means a thousand small holders can outvote a single whale. Real decentralization, not the fake kind.

Token holders vote on strategy parameters, profit distribution changes, treasury allocations. The protocol evolves based on collective decisions, not founder whims.

The Validator Alignment Problem

Early on, we realized something: validators could sabotage MEV extraction if they wanted to. They control block ordering. They could front-run OUR front-runs.

Solution? Cut them in. The 20% validator share isnt charity — its alignment. Validators supporting MEV Rebels earn more than validators fighting it. Economic incentives beat ideology every time.

This created a flywheel. More validators join, better block positioning, more MEV captured, higher returns, more validators want in. Game theory working as intended.

The Technical Stack

Frontend runs Next.js 14 with TypeScript. Dashboard shows real-time earnings, DAO proposals, transaction history. Clean UI because DeFi doesnt have to look like a spreadsheet from 1995.

Backend is pure Solana. Rust programs compiled with Anchor. The MEV capture logic is... lets say complex. Mempool parsing, opportunity scoring, execution ordering, slippage calculation, profit verification. Thousands of lines of carefully tested code.

We stress-tested the distribution contracts with 1000+ token holders. Gas efficiency matters when youre doing frequent payouts. Every compute unit saved is profit preserved.

The Ethical Question

Is this right? Profiting from MEV extraction?

I wrestled with this. MEV feels predatory. But heres my conclusion: MEV exists whether we participate or not. The question isnt whether extraction happens — its who benefits.

Traditional MEV: anonymous bots, offshore entities, zero accountability.

MEV Rebels: transparent protocol, community ownership, aligned incentives.

Were not creating the problem. Were redirecting existing flows toward people instead of algorithms. Robin Hood with smart contracts.

You can disagree. Some people do. But the 5 stars on GitHub suggest others see the vision.

What I Learned Building This

Solana MEV is a different beast. Unlike Ethereum, theres no public mempool in the same way. You need validator relationships, specialized infrastructure, deep protocol knowledge. The learning curve was steep.

Quadratic voting works. Seeing actual governance where small holders matter changed my perspective on DAOs. Most are broken by design. This one isnt.

Incentive design is everything. The validator share was a last-minute addition that saved the protocol. Without alignment, the whole system falls apart. Always ask: why would each participant cooperate?

DeFi is exhausting. The complexity, the security considerations, the constant gas optimization. Its mentally draining work. But when the contracts execute perfectly and profits flow automatically? Worth it.

The Bigger Vision

MEV Rebels is a proof of concept for something larger: community-owned infrastructure extracting value that would otherwise leak to sophisticated actors.

Imagine this pattern applied to liquidations, to oracle updates, to cross-chain bridges. Every place where information asymmetry creates profit, a community protocol could capture and redistribute it.

Were not there yet. MEV Rebels is one protocol on one chain. But the model works. The code is open. The governance is real.

Maybe someone takes this further. Maybe we do. Either way, the rebellion has started.


Tech Stack: Rust, Anchor, TypeScript, Next.js 14, Solana Web3.js

Status: Live on Solana mainnet

Links: GitHub

Model: 70% holders / 20% validators / 10% development