Documentation
Learn how to protect your DEX trades from MEV attacks with MEV Shield.
🛡 What is MEV Shield?
MEV Shield protects your decentralized exchange (DEX) trades from Maximal Extractable Value (MEV) attacks, including front-running, sandwich attacks, and other forms of value extraction.
Front-Running Protection
Your transactions are hidden from MEV bots until they're included in a block.
Sandwich Attack Prevention
Prevents attackers from placing orders before and after your trade.
Private Mempool
Transactions routed through Flashbots Protect for maximum privacy.
Multi-Chain Support
Works on Ethereum, Polygon, Arbitrum, Optimism, and Base.
⚡ Quick Start
Get protected in under 2 minutes with these simple steps:
Step 1: Connect Your Wallet
Visit our signup page and connect your MetaMask wallet. No email or personal information required.
Step 2: Approve Connection
Click "Connect" in your MetaMask popup to authorize the connection.
Step 3: Start Trading
Your trades are now protected! Use our RPC endpoint for additional protection.
That's it! Your wallet is now registered for MEV protection. All transactions through our platform are automatically shielded.
🔐 How It Works
MEV Shield uses multiple layers of protection to keep your trades safe:
- Transaction Encryption: Your transaction details are encrypted before leaving your device.
- Private Mempool Routing: Transactions are sent through Flashbots Protect, bypassing the public mempool.
- Block Builder Selection: We work with trusted block builders who don't engage in MEV extraction.
- Slippage Optimization: Smart slippage settings prevent unnecessary value leakage.
Privacy First: We never store your transaction data. All processing happens in memory and is discarded after execution.
💳 Wallet Connection
MEV Shield supports connection through:
- MetaMask - Browser extension and mobile app
- WalletConnect - Connect any compatible mobile wallet
- Coinbase Wallet - Browser extension and mobile
- Rainbow - Mobile wallet with WalletConnect
Privacy Guarantee
When you connect your wallet, we:
- Hash your wallet address using SHA-256 (never stored in plain text)
- Only display masked addresses (e.g., 0x1234****5678)
- Never share your data with third parties
- Don't require any personal information
🔗 RPC Endpoint
For maximum protection, add our RPC endpoint to your wallet:
https://rpc.mevshield.ai/v1/mainnet
Supported Networks
| Network | Chain ID | RPC URL |
|---|---|---|
| Ethereum | 1 | https://rpc.mevshield.ai/v1/mainnet |
| Polygon | 137 | https://rpc.mevshield.ai/v1/polygon |
| Arbitrum | 42161 | https://rpc.mevshield.ai/v1/arbitrum |
| Optimism | 10 | https://rpc.mevshield.ai/v1/optimism |
| Base | 8453 | https://rpc.mevshield.ai/v1/base |
💻 API Reference
Integrate MEV Shield protection into your dApp:
Referral Endpoints
Get referral statistics for a wallet address.
Register a new user with an optional referral code.
Validate a referral code.
🎉 Referral Program
Earn rewards by inviting friends to use MEV Shield. When your referrals use our protection services, you earn a percentage of their protection fees.
How to Get Started
- Connect your wallet on the signup page
- Copy your unique referral link from the dashboard
- Share with friends via social media, messaging, or email
- Earn rewards when they sign up and use MEV Shield
Referral Link Format: https://mevshield.ai?ref=MEVXXXXXXXX
🏆 Reward Tiers
The more friends you refer, the higher your reward percentage:
| Tier | Referrals | Reward Rate |
|---|---|---|
| Bronze | 0+ | 10% |
| Silver | 5+ | 15% |
| Gold | 20+ | 20% |
| Platinum | 50+ | 25% |
Example: At Gold tier with 25 referrals, if a referral pays $10 in protection fees, you earn $2.00 (20%).