🧠 Project Name
Rosetta
🔍 Description
Rosetta is a block-level yield router for Hyperliquid.
Rosetta Indexer computes per-block supply/borrow rates across HyperEVM and HyperCore markets (e.g., Felix, Hyperlend, HLP vaults) and routes stablecoins to the highest net (cost-adjusted) yield in real time.
Two core ideas:
1- Block-accurate rate signal instead of event snapshots,
2- A cost-aware allocator that only moves when expected gains exceed switching costs (gas, slippage, market impact).
Net result: higher realized APY with fewer churns and tighter risk controls.
🛠️ How It Works
- Data Plane (Signal)
- Our indexers read HyperEVM state each block and reconstruct effective borrow/supply curves per market.
- Normalize utilization → IRM → per-block accrual; stream to a time-series store for live and historical queries.
- Outputs: supply_apy, borrow_apy, utilization, liquidity and total_deposits flags.
- Decision Plane (Allocator)
- Computes expected net benefit of switching: ΔAPR × expected dwell time − (gas + slippage + exit penalties).
- Cooldown windows prevent thrash; per-market caps/allowlists enforce risk policy.
- Objective: maximize rolling, cost-adjusted APY subject to liquidity, risk limits, and user preferences.
- Execution Plane (Contracts + Router)
- RosettaRouter on HyperEVM executes atomic withdraw→deposit across supported protocols in a single tx.
- Guards: rate sanity checks, liquidity checks, circuit breaker, and emergency withdraw.
What’s interesting
- Block-accurate rates: eliminates “flat lines between events,” so we don’t misprice micro-drift.
- Cost-aware rebalancing: moves only when it pays after all-in costs.
- Proof-of-performance: on-chain route receipts align realized APY with decisions.
- Composable: any new HyperEVM market can be added via an adapter.
💻 Demo
- Loom
- Youtube
📂 Project Links
- GitHub
- SQD Indexer
- Interface
- Engine
- Docs
- Rosetta Interface
- Rosetta Indexer Overview
- Presentation
- Live demo URL
👥 Team
- Twitter
- https://twitter.com/rosetta_hl
- https://x.com/emrecolako
- https://x.com/mberkayermis
- https://x.com/yusufbenli_
- Telegram
- @emrecolako
- @berkayermis
- @yusufbenli