Chains

BNB Smart Chain

Build web3 dApps effortlessly

BNB Beacon Chain

Sunset Complete

BNB ecosystem’s staking & governance layer

DocumentationGitHubFaucetStake BNBBscScanBSCTraceDev ToolsLearn more about FusionDocumentationBeacon Chain ExplorerToken Recovery ToolDocumentationGitHubFaucetBridgeGreenfieldScanDCellarDev ToolsDocumentationGitHubFaucetBridgeopBNBScanDev ToolsDocumentationGitHub

Developers


Submit dApps

BNB Smart ChainBNB GreenfieldopBNBzkBNBBNB HackBNB Incubation Alliance (BIA)Most Valuable Builder Accelerator Program (MVB)BNB Chain GrantsKickstartGas GrantsTVL Incentive ProgramMEME Coins InnovationSee All Programs

Solutions

Tokenization

Get Your Business Into Web3

Company TokenizationReal World Assets TokenizationNFT Loyalty ProgramLaunch MemecoinStep by Step GuideMEV Protection

Ecosystem

Staking

Earn BNB and rewards effortlessly

Native StakingLiquid Staking

Community

Careers🔥

Explore Opportunities on BNB Chain

BNB Chain CareersEcosystem Jobs
Contact UsGet Started
Contact UsGet Started

Protecting Users from Sandwich Attacks: BNB Chain Introduces MEV Protection with Several Wallets

2025.2.10  •  4 min read
Blog post image.

One of the biggest concerns in the DeFi space has been the impact of MEV (Maximal Extractable Value) attacks—especially sandwich attacks—that lead to unfair trading conditions and financial losses for users.

To help address this issue, we’re excited to introduce three MEV protection solutions today in collaboration with leading wallet providers. These solutions will help users safeguard their transactions against sandwich attacks and enjoy a safer DeFi trading experience.

Understanding Sandwich Attacks

A sandwich attack is a form of front-running where malicious bots manipulate the price of an asset by placing two transactions around a trader’s swap order on a decentralized exchange (DEX). This results in users receiving worse trade execution prices, leading to losses.

To combat this, we’ve partnered with multiple wallets and private transaction service providers to introduce MEV Protection. Depending on your needs, you can choose from three different solutions:

  1. Wallets with automatic MEV Protection (enabled by default)
  2. Wallets with manual MEV protection options
  3. Customized protection for advanced users

Solution 1: Wallets with Built-in MEV Protection

Best for: Everyday on-chain users who want a simple and automatic solution

Major wallet providers have integrated MEV Protection directly into their swap features. If you use any of the following wallets, your transactions are automatically protected from sandwich attacks when swapping within the wallet:

Wallet 

How to Enable

Trust Wallet

Enabled by default in swap settings

Binance Web3 Wallet

Built-in Alpha Token MEV Protection

OKX Wallet

Toggle MEV Protection in settings

TokenPocket Wallet

MEV Protection enabled for swaps

How to Enable MEV Protection

Using Trust Wallet as an example, users will need to:

  1. Download Trust Wallet
  2. Create or import your BNB Smart Chain Wallet
  3. Tap Swap in the bottom menu
  4. Click the Settings (gear icon) in the top-right corner
  1. Toggle MEV Protection ON (enabled by default)
  1. That’s it! Your BSC transactions will now be protected from sandwich attacks.

For OKX Wallet and TokenPocket Wallet, follow similar steps via their respective settings. Binance Web3 Wallet has MEV Protection enabled by default, requiring no additional setup.

Solution 2: Manual MEV Protection for Wallets Without Built-in Features

Best for: Users of MetaMask and other wallets without built-in MEV Protection

If your wallet doesn’t offer automatic MEV Protection, you can still protect your transactions by using a private RPC (Remote Procedure Call). This sends your transactions through a private network, making them invisible to MEV bots.

Currently, three free private RPC services on BNB Chain offer sandwich attack protection:

Private RPC Provider

Setup Guide

PancakeSwap Private RPC

https://docs.pancakeswap.finance/products/pancakeswap-private-rpc

48 Club Private RPC

https://docs.48.club/privacy-rpc

Merkle BSC Private RPC

https://merkle.io/free-bsc-rpc

How to Set Up a Private RPC

Using MetaMask as an example, users will need to:

  1. Download MetaMask
  1. Open settings and select BSC Mainnet
  2. Scroll to Add RPC URL and enter one of the following:
    • Merkle: https://bsc.merkle.io
    • Pancake: https://bscrpc.pancakeswap.finance
    • 48Club: https://rpc-bsc.48.club
  1. Save the new RPC and your transactions will be protected

.

This is an easy and free way to prevent sandwich attacks, even if your wallet doesn’t have built-in MEV Protection.


Solution 3: Advanced MEV Protection for Professionals and Developers

Best for: Dapp developers, institutional traders, and professional users who need customized protection. 

For those seeking more advanced protection and transaction privacy, several service providers offer paid MEV protection solutions with additional features such as faster execution times and atomic bundling.

Service Provider

Features

Pricing

BloxRoute

High-performance private transaction protection

Monthly subscription

Blocksmith

Private transactions with atomic bundling

Monthly subscription

Nodereal

API services for private transactions

Free tier available

Blockrazor

Custom RPC services

Contact provider

Puissant

Private communication for BSC users and validators

Contact provider

These solutions provide an extra security layer for those needing customized MEV Protection.

Looking Ahead

We know that MEV attacks have been a longstanding challenge in DeFi, and we’re committed to making BNB Chain a safer, more user-friendly ecosystem. By partnering with wallet providers and industry experts, we hope these solutions will give users more control and protection over their transactions.

As always, we appreciate your feedback and are constantly working on ways to improve the experience for everyone in our community. Let us know if you have any thoughts, and stay tuned for more updates!

Follow us to stay updated on everything BNB Chain

Website | Twitter | Telegram | Facebook | dApp Store | YouTube | Discord | LinkedIn | Build N' Build Forum

Share