Skip to content
// Prazwal Ratti
Home
Writing

Blog

Notes on Rust, DeFi, and building at the systems layer.

Assay prices adverse selection per swap instead of per pool — until an audit found the reference refreshing one block too late, quietly handing the exact swap it exists to charge a discount instead.

Apiforge takes merged code to healthy pods in production in one command, and rolls itself back in reverse if any step fails. A field guide to every way a release pipeline can quietly betray you.

One SDK across Uniswap V4, 1inch Fusion+ and Paraswap with built-in MEV protection, and the quietly-wrong bugs I had to kill to make sandwich-risk scoring actually correct.