Skip to content

Democratizing MEV on Solana through DAO governance | Community-owned MEV infrastructure | Superteam Cypherpunk Hackathon 2025

Notifications You must be signed in to change notification settings

RECTOR-LABS/mevrebels-protocol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

57 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

โšก MEVRebels Protocol

Democratizing MEV on Solana through DAO-governed, community-owned infrastructure

Stars Solana TypeScript

๐Ÿ† Superteam Cypherpunk Hackathon 2025 | ๐ŸŒ Built in Indonesia | ๐Ÿ•Œ Built with Ihsan

๐Ÿ“– Documentation โ€ข ๐ŸŽฅ Demo โ€ข ๐Ÿ›๏ธ RECTOR LABS


๐ŸŽฏ The Problem

MEV is extractive and unfair.

Maximal Extractable Value (MEV) on Solana generates billions in valueโ€”but only sophisticated operators capture it. Regular users and validators are left out, while a small elite profits from:

  • ๐Ÿฆ Front-running trades
  • ๐Ÿ”„ Sandwich attacks
  • ๐Ÿ’ฐ Arbitrage opportunities
  • ๐ŸŽฏ Liquidation captures

Result: Wealth concentration, unfair markets, and centralized power in a supposedly decentralized ecosystem.


โœจ The Solution: MEVRebels Protocol

Transform MEV from extractive to equitable.

MEVRebels is a DAO-governed protocol that redistributes MEV profits to the community through:

  • ๐Ÿ›๏ธ DAO Governance - Community decides profit distribution via voting
  • ๐Ÿ’Ž Profit Sharing - MEV earnings redistributed to token holders
  • ๐Ÿ”“ Open Infrastructure - Anyone can run MEV strategies through the protocol
  • ๐Ÿ“Š Transparent Operations - All MEV captured on-chain, fully auditable
  • ๐Ÿ›ก๏ธ Validator Alignment - Share profits with validators who support the protocol

Tagline: "MEV by the people, for the people."


๐Ÿ› ๏ธ Tech Stack

Blockchain:

  • Solana (mainnet-beta)
  • Anchor Framework 0.29+
  • SPL Token Program
  • Metaplex Token Metadata

Smart Contracts:

  • Rust + Anchor
  • MEV capture contracts
  • DAO governance contracts
  • Profit distribution contracts

Frontend:

  • TypeScript + React
  • Next.js 14
  • TailwindCSS
  • Solana Web3.js + Wallet Adapter

Backend Services:

  • MEV detection bots
  • Arbitrage execution engine
  • Transaction monitoring

Infrastructure:

  • Vercel (frontend)
  • Dedicated RPC nodes
  • Real-time WebSocket feeds

๐Ÿš€ Quick Start

Prerequisites

- Node.js 18+ or Bun
- Solana CLI 1.18+
- Anchor 0.29+
- Phantom/Solflare wallet

Installation

# Clone the repository
git clone https://github.com/RECTOR-LABS/mevrebels-protocol.git
cd mevrebels-protocol

# Install dependencies
npm install
# or
bun install

# Set up environment
cp .env.example .env
# Add your RPC URL and wallet keypair

# Build smart contracts
cd programs/mevrebels
anchor build

# Deploy to devnet
anchor deploy --provider.cluster devnet

# Run frontend
cd ../../app
npm run dev

Configuration

# .env.example
SOLANA_RPC_URL=https://api.mainnet-beta.solana.com
ANCHOR_WALLET=~/.config/solana/id.json
DAO_PROGRAM_ID=<your_deployed_program_id>

๐Ÿ“– How It Works

1. MEV Capture

MEVRebels Bots โ†’ Detect Opportunities โ†’ Execute Strategies โ†’ Capture Profit
  • Monitor mempool for arbitrage, liquidations, sandwich opportunities
  • Execute profitable trades using protocol-owned capital
  • All profits flow to DAO treasury

2. DAO Governance

Token Holders โ†’ Propose Distribution โ†’ Vote โ†’ Execute On-Chain
  • $MEVR token holders vote on profit distribution
  • Proposals executed automatically via smart contracts
  • Quadratic voting prevents whale dominance

3. Profit Distribution

Treasury โ†’ Distribution Contract โ†’ Token Holders + Validators + Dev Fund
  • 70% to $MEVR token holders (pro-rata)
  • 20% to supporting validators
  • 10% to development fund

4. Transparency

On-Chain Events โ†’ Real-time Dashboard โ†’ Public Auditing
  • Every MEV capture recorded on-chain
  • Live dashboard shows profits, distributions, governance
  • Fully auditable by anyone

๐ŸŽจ Key Features

For Users

  • ๐Ÿ’ฐ Passive MEV Income - Hold $MEVR, earn MEV profits
  • ๐Ÿ›๏ธ Governance Rights - Vote on distribution strategy
  • ๐Ÿ“Š Dashboard - Track earnings, proposals, and DAO stats
  • ๐Ÿ”“ Permissionless - No KYC, no gatekeeping

For Validators

  • ๐Ÿ’Ž Revenue Share - Earn 20% of MEV captured
  • ๐Ÿค Aligned Incentives - Support fair MEV distribution
  • ๐Ÿ“ˆ Increased APY - MEV share boosts validator returns

For Developers

  • ๐Ÿ› ๏ธ Open SDK - Build MEV strategies on the protocol
  • ๐Ÿ“š Documentation - Comprehensive guides and examples
  • ๐Ÿ’ฐ Dev Fund - 10% of profits fund open-source work

๐Ÿ† Hackathon Context

Competition: Superteam Cypherpunk Hackathon 2025 Track: DeFi Innovation Dates: October 2025 Team: RECTOR LABS Result: Featured project (4 โญ)

Challenge Prompt

Build a protocol that makes DeFi more equitable and decentralized on Solana. Challenge power dynamics and create fair systems.

Our Approach

Problem Selection: MEV is the elephant in the roomโ€”billions in hidden value extraction that nobody talks about. We chose to confront it directly.

Technical Innovation:

  • First DAO-governed MEV protocol on Solana
  • On-chain profit distribution (no trust needed)
  • Quadratic voting prevents plutocracy
  • Validator alignment through profit sharing

Philosophical Stance: MEV isn't going awayโ€”but it doesn't have to be extractive. We transform it from a tool of the elite into a public utility. Islamic principles applied: wealth redistribution, fairness, and communal benefit.


๐Ÿงช Testing

# Run smart contract tests
cd programs/mevrebels
anchor test

# Run frontend tests
cd ../../app
npm run test

# Integration tests
npm run test:integration

# Test coverage
npm run test:coverage

๐Ÿ“ธ Screenshots

Coming soon: Dashboard screenshots, governance UI, profit distribution interface


๐ŸŒŸ Highlights

What makes MEVRebels special:

  • ๐Ÿ’ก First of its kind - No other DAO-governed MEV protocol on Solana
  • ๐Ÿ›๏ธ True decentralization - Community controls everything via governance
  • ๐Ÿ“Š Full transparency - Every action recorded on-chain
  • ๐Ÿ”“ Permissionless participation - Anyone can join, no gatekeeping
  • ๐Ÿ•Œ Values-driven - Built with Islamic principles of fairness (Ihsan, Amanah)

Technical Achievements:

  • Complex multi-contract architecture (MEV capture + DAO + distribution)
  • Real-time MEV detection with sub-second execution
  • Quadratic voting implementation on Solana
  • Gas-optimized profit distribution (handles 1000+ holders)

Lessons Learned:

  • MEV detection requires deep Solana transaction understanding
  • DAO governance UX is critical for engagement
  • Profit distribution at scale needs careful gas optimization
  • Community alignment is harder than technical implementation

๐Ÿ—บ๏ธ Roadmap

Phase 1: Hackathon MVP โœ… (Oct 2025)

  • Core smart contracts (MEV, DAO, distribution)
  • Basic MEV capture strategies (arbitrage)
  • Frontend dashboard
  • Governance voting UI

Phase 2: Testnet Launch ๐Ÿšง (Nov-Dec 2025)

  • Extended testing on devnet
  • Security audit (Sec3, OtterSec)
  • Community testnet (limited users)
  • Strategy expansion (liquidations, sandwich)

Phase 3: Mainnet Alpha ๐Ÿ“‹ (Q1 2026)

  • Mainnet deployment with safeguards
  • Limited capital ($50k treasury)
  • 100 early adopters
  • Monitor and iterate

Phase 4: Full Launch ๐Ÿ“‹ (Q2 2026)

  • Open to public
  • Validator partnership program
  • MEV strategy marketplace
  • Cross-chain expansion (EVM chains)

๐Ÿค Contributing

Built by RECTOR LABS with Ihsan (excellence) and Amanah (responsibility).

We need help with:

  • ๐Ÿงฎ MEV strategy development (arbitrage, liquidations)
  • ๐ŸŽจ UI/UX improvements (dashboard, governance)
  • ๐Ÿ“– Documentation and tutorials
  • ๐Ÿ” Security auditing and testing
  • ๐ŸŒ Community building and growth

How to contribute:

  1. Fork the repository
  2. Create feature branch (git checkout -b feature/NewStrategy)
  3. Commit changes (git commit -m 'feat: Add NewStrategy')
  4. Push to branch (git push origin feature/NewStrategy)
  5. Open Pull Request

๐Ÿ“„ License

MIT License - see LICENSE file


๐Ÿ™ Acknowledgments

  • Superteam - For hosting Cypherpunk Hackathon 2025
  • Solana Foundation - For building the fastest blockchain
  • Jito Labs - For pioneering MEV research on Solana
  • Flashbots - For MEV transparency on Ethereum
  • RECTOR LABS community - For feedback and support

๐Ÿ”— Links


Built with Bismillah ๐Ÿ•Œ

"And cooperate in righteousness and piety" - Quran 5:2

May this protocol bring fairness to DeFi. Aamiin.


๐Ÿ›๏ธ RECTOR LABS | Building for Eternity | 2025

Solana TypeScript Anchor DeFi

About

Democratizing MEV on Solana through DAO governance | Community-owned MEV infrastructure | Superteam Cypherpunk Hackathon 2025

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Contributors 2

  •  
  •