Rosetta🗿

Block-by-block atomic and automated stablecoin yield farming with risk controls

  • 0 Raised
  • 974 Views
  • 0 Judges

Categories

  • 02. 🚀 Hyperliquid Frontier Track
  • 08. Best use of Privy

Gallery

Description

🧠 Project Name

Rosetta

🔍 Description
Rosetta is a block‑level yield router for Hyperliquid.  An on‑chain indexer computes per‑block supply and borrow rates across HyperEVM and HyperCore markets—such as Felix, Hyperlend and HLP vaults—and routes stablecoins to the highest net yield in real time.  Instead of relying on event‑driven snapshots, Rosetta produces block‑accurate rate signals and employs a cost‑aware allocator that only moves capital when expected gains exceed switching costs like gas, slippage and market impact.  The net result is higher realised APY with fewer churns and tighter risk controls.

🛠 How It Works

- Data Plane (Signal): SQD Indexer reads HyperEVM state each block, reconstruct the effective borrow and supply curves per market, normalise utilization through the interest‑rate model, accrue interest forward and stream these metrics—supply APY, borrow APY, utilisation, liquidity and total deposits—to a time‑series store for live and historical queries. 

- Decision Plane (Allocator): The allocator computes the expected net benefit of switching: it takes the change in APR times expected dwell time and subtracts gas, slippage and exit penalties.  Cooldown windows prevent thrashing, and per‑market caps and allowlists enforce risk policy.  Its objective is to maximise rolling, cost‑adjusted APY while respecting liquidity, risk limits and user preferences.

- Execution Engine (Server + Session Signer): Rosetta’s execution engine runs on AWS. When rebalancing is required, the engine initiates an atomic withdraw‑and‑deposit sequence via Privy’s session signer, which signs transactions on behalf of the user under a defined policy.  Guards include rate sanity checks, liquidity checks, a circuit breaker and an emergency withdrawal.

✨ What’s Interesting

  • Block‑accurate rates: By eliminating the “flat lines between events,” Rosetta surfaces micro‑drift that would otherwise be mispriced.
  • Cost‑aware rebalancing: Capital moves only when the trade pays after all‑in costs.
  • Proof of performance: On‑chain route receipts align realised APY with the allocator’s decisions.
  • Composable: Any new HyperEVM market can be added via a simple adapter.

💻 Demo

Interactive demos are available on Loom and YouTube.  A live interface shows all vaults and markets with real‑time APY tracking, filters by curator, collateral or loan token, and an asset‑comparison tool that executes multi‑vault allocations at the click of a button.

  1. Youtube

📂 Project Links

  1. GitHub
    1. SQD Indexer
    2. Interface
    3. Engine
  2. Docs
    1. Rosetta Interface
    2. Rosetta Indexer Overview
  3. Presentation
  4. Live demo URL

👥 Team

Rosetta is developed by the Parabol Labs team.  You can follow the project on Twitter at @rosetta_hl and connect with the core contributors on X/Twitter: @emrecolako, @mberkayermis and @yusufbenli_.  They’re also available on Telegram at @emrecolako, @berkayermis and @yusufbenli

Attachments