Enhancing Crypto Security: Rubic Integrates Private RPC Feature to Prevent MEV Bot Attacks

5 min readDec 28, 2023

DEX trading is often associated with risks, ranging from non-reversible payments to MEV bots attacks. As the crypto community strives to make digital assets more ubiquitous, innovative solutions are emerging to ensure the safety of users’ funds.

Rubic is proud to announce a progressive step in this direction — the integration of the Private RPC feature. Read on to discover how this advancement enhances security and protects your funds.

Understanding MEV Bot Attacks

Before delving into the benefits of Private RPC, it’s crucial to understand the threat posed by MEV bots. A detailed exploration of MEV bots and their potential impact on users can be found in our previous article, “Demystifying MEV Bots: Your Guide to Self-Protection.”

In summary, MEV bots exploit opportunities to maximize profits by manipulating transaction orders, engaging in activities such as front-running high-value transactions, back-running existing transactions, and executing sandwich attacks. These activities can lead to worse rates and increased transaction fees, resulting in financial losses for the user.

Private RPC as a Solution

Remote Procedure Call (RPC) is a request-response communication protocol used to initiate processes on remote systems, such as local systems or servers in blockchain networks. With Private RPC, your transactions on Rubic will no longer be publicly visible in the mempool, safeguarding you from bots and MEV searchers.

Benefits of Private RPC:

  • Front-Running Prevention and Enhanced Trading Rates
  • Securing Transactions with Unparalleled Speed
  • Confidentiality of Transactions
  • Reduced Attack Surface

bloXRoute Integration: Fortifying Fund Security with MEV Protect Engine

Rubic’s integration of the Private RPC feature marks a significant step towards fortifying the security of users’ funds and ensuring better rates. With measures in place to prevent front-running, enhance transaction rates, and prioritize user privacy, Rubic continues to contribute to the advancement of a safer and more secure crypto ecosystem.

Solution Details

MEV Protect Engine by bloXroute, the latest addition to Rubic’s arsenal, aims to improve the DeFi ecosystem on Ethereum, BNB Smart Chain and Polygon by introducing the Frontrunning Prevention feature to professional and retail traders in scale and benefit the contributors in the process.

bloXroute connects you directly with validator nodes to securely hand off your transactions to protect you from frontrunning.

Important to note, that it works only for swaps on and from Ethereum, BNB Smart Chain & Polygon.

This is how it works:

1. Private Transaction Submission:

  • Users submit private transactions on Rubic.

2. bloXroute Processing in BDN:

  • bloXroute, within its Blockchain Distribution Network (BDN), processes private transactions.

3. Direct Routing:

  • Private transactions are routed directly to specific destinations:
  • Ethereum: Sent to the partner block builder.
  • BSC: Sent to bloXroute’s block builder.
  • Polygon: A just-in-time delivery mechanism is used to reduce the chance of frontrunning.

4. Avoiding Public Mempool (For Ethereum and BNB Chain):

  • Private transactions are not propagated to the public mempool.
  • This mitigates the risk of frontrunning and sandwich attacks.

In essence, bloXroute processes private transactions, routes them to designated destinations, labels them as private, and ensures they are not exposed to the public mempool, enhancing security against frontrunning and sandwich attacks.

User-Centric Approach

At Rubic, we prioritize simplicity and user-friendliness in every aspect of our platform. To ensure a seamless experience, we have introduced an effortless switch on process for Private RPC.

When you engage in a swap exceeding $1,000, our platform takes a proactive approach to safeguard your funds. A specially designed window will automatically appear, presenting you with the option to activate Private RPC for enhanced fund protection.

Activating Private RPC is as easy as flipping a switch. No complex procedures or unnecessary steps — just a straightforward, user-friendly experience. Refer to the screenshot below for a visual guide.

Please note: If you enable the MEV Bot Protection feature on Rubic, it’s crucial to add new chains with Private RPC and implement transactions through them. Ensure that the new Private RPC Chains are configured as follows:

  1. Ethereum:

2. Binance Smart Chain (BSC):

3. Polygon:

User Benefits:

  • Enhanced Security Measures: Activate Private RPC to fortify the security of your funds, especially for high-value swaps.
  • User-Friendly Controls: A simple switch is all it takes to enable this advanced security feature, ensuring a hassle-free experience for every user.
  • Transparent Security Options: The special window provides clear and transparent options, empowering you to make informed decisions about your fund protection preferences.

Rubic is committed to provide the best user experience, and MEV-bot protections is another significant step in building this. We want you to feel confident while swapping by automating the process for big amounts’ swaps and easily activating the feature in our app’s UI. Your security is our priority, and with Private RPC, we ensure that protecting your funds is both intuitive and effective.


bloXroute Labs is a leading blockchain software company. The 5-years old Chicago-based tech startup is on a mission to bring transactions and data transmission on blockchain to the next level. bloXroute’s proprietary blockchain distribution network (BDN) with hyper-connectivity on Ethereum, BNB Chain, Polygon and Solana enables ultra low-latency DeFi with unmatched speed and performance to actors in DeFi and MEV ecosystems.

Over 350 DeFi trading firms connect their trading infrastructure to bloXroute’s BDN to get the fastest mempool data in the industry for more trade opportunities and substantially increases their chance of winning trades with high inclusion rate and the most competitive transaction propagation speed.


Rubic aggregates 70+ blockchains and testnets, while it enables swaps of 15,500+ assets with the best rates, highest liquidity, and transaction speeds — in one click, thanks to the integration of 220+ DEXs and bridges.

Users no longer have to roam across Web3 to compare rates and liquidity; they can make cross-chain and on-chain swaps of any available token to any other one on https://app.rubic.exchange/.

We also provide tools for dApps to enable cross-chain swaps. Rubic’s functionality can be implemented by any crypto project willing to become interoperable, with an easy-to-install widget and fully customizable SDK.




Rubic's Best Rate Finder tool for crypto swaps aggregates 70+ blockchains, 220+ DEXs and bridges, and 15,500+ crypto assets.