Demos

Uniswap v4 · Sepolia

Live

Allow, or revert.

A beforeSwap hook asks the BNN before the swap executes. Safe passes; risk or defer reverts the whole swap atomically — opt-in LP toxic-flow protection.

Live on Sepolia — GuardedSwapRouter, RiskGuardHook, and ContextRegistry are deployed. The receipts below are from verified on-chain swaps through the BNN-gated Uniswap v4 pool.

Swap request

TokenA → TokenB (Sepolia pool)
SwapPool MgrHookBNNRevert{ }