DeFi’s billion-dollar problem (and how FHE can solve it)

Predatory MEV tactics are costing DeFi users billions, but Fully Homomorphic Encryption offers a viable path toward a fairer ecosystem.

DeFi has unlocked unprecedented innovation in financial services, built on blockchains and attracting swathes of users via increased accessibility, transparency and efficiency. 

Blockchain’s transparency, while revolutionary for some applications, makes it simply unviable across many sensitive, real-world domains. 

This transparency also lends itself to predatory MEV (Maximal Extractable Value) tactics on blockchain networks that have cost unsuspecting DeFi users over a billion dollars. This ongoing exploitation erodes trust, and has hindered mainstream and institutional adoption.   

Fully Homomorphic Encryption (FHE), offers a clear path to tackling exploitative MEV practices and building a fairer, more secure DeFi ecosystem. 

The good and the bad of MEV 

Maximal Extractable Value (MEV) refers to the profit that can be made by strategically reordering, inserting, or censoring transactions within a blockchain block.  

Once a block has been created (and finalised a short time later) it is immutable and cannot be changed. This is a key feature of blockchains.  

The only point at which transactions can be reordered, added or removed is during the process of proposing a block, when one validator wins or is assigned the task of proposing a block.  

At that point, the block proposer has free choice to pick from all queued transactions in the public mempool. The ‘tips’ from all the queued transactions are paid to the block proposer if these transactions are included in this new block. Therefore there is a financial incentive to maximise extractable value and this is where the MEV bots come in – helping the block proposer to quickly find an optimal set of transactions to include. 

MEV exists in several forms, some of which are harmful to users while others are integral to the functioning of DeFi. 

The most damaging forms of MEV are predatory tactics: 

Flashbots estimated that between September 2022 and June 2024 alone, predatory MEV cost users a whopping $1.1bn. 

On the other hand, some MEV activities are considered benign or even beneficial for market health: 

 On-chain confidentiality with FHE 

Predatory MEV thrives on one thing: information. The bots can only execute their attacks because they can see the details of pending transactions in the public mempool.  

Fully Homomorphic Encryption (FHE) eliminates this information asymmetry by enabling on-chain confidentiality. 

FHE, hailed as the holy grail of cryptography, allows computations to be performed directly on encrypted data. In the context of DeFi, this means a user could submit their entire transaction—the assets involved, the amount, and their slippage tolerance—in an encrypted format. The blockchain could then process this confidential transaction without ever needing to decrypt it. 

This would be achieved through mechanisms like: 

FHE allows searchers to compute on encrypted transactions without revealing the underlying transaction details. With full details of the transaction hidden, front-running or sandwich attacks become impossible, as the information required to carry out such attacks remains encrypted. 

A fairer future for DeFi 

By preventing the information leakage that fuels predatory MEV, FHE can create a much safer and fairer environment for all DeFi participants.  

This not only protects retail users from being exploited but also builds the high level of trust and market integrity required for institutional adoption and regulatory scrutiny. FHE can help the ecosystem finally reach its full potential as a transparent, efficient, and truly trustworthy financial system for everyone. 

At Optalysys we’re developing the future of encrypted blockchain through pioneering the use of optical computing to accelerate Fully Homomorphic Encryption. Find out more about LightLocker Node and how we can accelerate your confidential blockchain use case → 


Square tile with headings:
Webinar Replay
Building a better web on encrypted blockchain
Below are pictures and names/titles of the speakers:
Nick New - CEO, Optalysys
Dimitar Jetchev,Principal Software Engineer, Microsoft
Joseph Wilson,
Head of Strategic Innovation, Optalysys

Building a Better Web on Confidential Blockchain

Catch up on our session with Dimitar Jetchev (Microsoft), Nick New and Joe Wilson (Optalysys) all about confidentiality on blockchain and how FHE stacks up against, or can be used with, ZKPs.