← Back to Work
Web3AIDeFi

A51 Finance

DeFi Liquidity Management Engine

🏆Hackathon Winner + Grant Secured · Starknet Thailand 2024

Stack

CairoStarknetReactNode.jsTypeScript

1st Place

Starknet Thailand 2024

Grant

Secured post-hackathon

Production

Live system with real liquidity

On-chain

Cairo smart contracts

The Challenge

DeFi liquidity management is notoriously complex — positions go out of range, gas costs eat into yields, and manually rebalancing across concentrated liquidity pools is a full-time job. A51 Finance needed an autonomous system that could reason about market conditions and manage liquidity positions without constant human oversight.

What We Built

We designed and built an intent-based automated liquidity management engine on Starknet using Cairo smart contracts. The system allows users to express high-level intents — “keep my ETH/USDC position in range” or “maximize yield within this risk tolerance” — and autonomously executes the necessary on-chain operations.

  • Intent-based position management — users define goals, not mechanics
  • Automated range rebalancing with gas-optimized Cairo contracts
  • Off-chain reasoning layer for market condition analysis
  • Production-grade smart contracts with extensive test coverage
  • React frontend for position monitoring and intent configuration

The Result

The project won first place at Starknet Thailand 2024 and secured a post-hackathon grant for continued development. The system moved from hackathon prototype to production infrastructure handling real liquidity positions — exactly the trajectory that defines our approach: build it properly from day one so production is just a deployment, not a rewrite.

Building in DeFi or Web3?

Discuss Your Web3 Project