CrabFi
Full-stack DeFi platform that hedges impermanent loss on Uniswap v3 positions by automatically opening/closing perpetual futures on Hyperliquid.
The Problem
Liquidity providers on Uniswap v3 face impermanent loss when prices move outside their position range. Manual hedging is time-consuming and error-prone, requiring constant monitoring of multiple platforms.
The Solution
CrabFi automates the hedging process by monitoring Uniswap v3 positions and automatically opening/closing perpetual futures on Hyperliquid to offset impermanent loss. The platform runs async Python bots that react to price movements in real-time.
Learnings
Building at the intersection of DeFi protocols taught me to think about latency, gas optimization, and the importance of fail-safe mechanisms. Every transaction costs money — there's no room for bugs in production.
Built With AI
CrabFi was built in collaboration with Claude (Anthropic). From architecture decisions to debugging complex async flows, AI accelerated development while I focused on strategy and risk management logic.