Introducing Plasma: A Reference Implementation of a Sandwich-Resistant AMM

11.22.2024

Today, Ellipsis Labs is releasing Plasma, an audited reference implementation of the sandwich-resistant AMM design described in Umbra Research.

While sandwich attacks remain a significant challenge in DeFi—extracting millions of dollars daily from retail traders—most existing solutions focus on infrastructure-layer mitigations requiring the privatization of order flow. Plasma takes a different path by implementing sandwich resistance at the application layer, making atomic sandwich attacks unprofitable by design.

We're making this reference implementation available to help advance the ecosystem's understanding and development of more robust DEX architectures, improving DeFi for all.

Check out the code: https://github.com/Ellipsis-Labs/plasma

If you're interested in working on novel primitives like this, view our open engineering positions to get involved. Ellipsis Labs is also building Atlas, a blockchain for verifiable finance.

Plasma has undergone two comprehensive security audits which can be found here.

About the author

Latest Blogs