Home

Anatomy of a DEX Exploit - The Hyperliquid JELLY Case and Future-Proofing Perps

Introduction What happens when a single trader’s “galaxy-brain” exploit targets a decentralized exchange? On March 27, 2025, Hyperliquid found out the hard way. A manipulated short position on the JELLY token forced its USD 230 Million liquidity pool (HLP) into a USD 12 Million paper loss—nearly destabilizing the entire platform. This two-part ...

Read more

Why "Bad" Ideas are Good for Solana - A Journey Through Transaction Prioritization

Why Explore “Bad” Ideas? In the world of high-throughput blockchain design—especially on Solana—people often focus on polished final solutions that “just work.” But that mindset can stifle creativity and blind us to alternative approaches. What if we took a fearless dive into the entire design space, including half-baked or experimental ideas? ...

Read more

Provably Improving Hook-Enabled Forward Exchange Functions - A Rigorous Mathematical Framework for Optimal Routing in Uniswap v4

Introduction - The Evolution of Automated Market Makers If you’ve ever traded on Uniswap, you might think of it as a decentralized vending machine for tokens—you put in token A, and it spits out token B. But this vending machine isn’t using fixed prices—it’s governed by a mathematical function that determines prices dynamically based on supply ...

Read more

Solana SPL vs. Ethereum ERC-20 - A Deep Dive into State, Scalability, and Architecture

Overview Fungible tokens form the backbone of modern blockchain ecosystems—fueling decentralized finance (DeFi), stablecoins, NFTs, gaming, and more. Yet how a chain handles the separation of state and code can have profound impacts on state growth, data management, and scalability. Two major token standards—Ethereum’s ERC-20 and Solana’s SPL—e...

Read more

Choosing the Right Data Availability Layer - A Deep Dive into Celestia, Polygon Avail, and EigenDA

TL;DR Data availability (DA) ensures that anyone can retrieve the necessary information (transactions) for verifying a blockchain or rollup. Posting all rollup data on Ethereum is secure but very expensive and limited by Ethereum’s throughput. Celestia, Polygon Avail, and EigenDA each tackle off-chain data availability differently, with ...

Read more

Routing Revolution in AMM - Hooks in Uniswap V4 and Optimal Trade Execution - A Paper Review

For those familiar with Uniswap, you know its power lies in its simplicity: liquidity pools governed by constant function market maker (CFMM) formulas. Recently, Uniswap V4 introduced Hooks which are smart contract “extensions” that inject custom logic into these pools. Imagine: dynamic fees adjusting to volatility, on-chain limit orders directl...

Read more

How Erasure Coding Works in Solana - A Deep Dive into Reed–Solomon and Data Propagation

Solana achieves high throughput and near-instant finality, yet it must also handle the reality of real-world networks: data loss, latency, and potential adversarial behavior. One key strategy used is erasure coding—specifically, Reed–Solomon codes—which allow a block (or shard set) to be reconstructed even if some data packets are lost. In this...

Read more

Understanding Erasure Coding - A Deep Dive into Mathematical Foundations

Introduction Imagine you’re part of a new decentralized blockchain aiming to store massive amounts of data on-chain—think NFT artwork, transaction histories, and user-generated archives. Each node in the network hosts only a slice of the total ledger. Some nodes go offline unexpectedly; others might be malicious. Directly replicating every byte...

Read more