The Yield Router is a non-custodial allocation system that automatically routes capital across vaults and lending markets to maximize yield. It consumes real-time data from the Indexer and executes allocation decisions through user-controlled smart accounts. Users define which vaults, protocols, and chains the Router can access. The Router handles everything else: monitoring rates, evaluating opportunities, executing rebalances.Documentation Index
Fetch the complete documentation index at: https://docs.rosetta.sh/llms.txt
Use this file to discover all available pages before exploring further.
Components
The Router consists of three layers:| Layer | Function |
|---|---|
| Smart Accounts | User-controlled accounts that hold funds and execute transactions, deployed per chain |
| Policies | On-chain rules defining permitted vaults, protocols, assets, and constraints |
| Execution Engine | Monitors yields across chains and protocols, evaluates rebalancing opportunities, executes allocations |
Flow
- User connects wallet and creates a smart account (sub-account linked to their main wallet)
- User selects a chain
- User configures policies (selects which vaults, protocols, and assets their capital will flow into)
- User deposits assets into their smart account
- Router allocates capital to the highest-yielding permitted vault or market
- Router continuously monitors yields via the Indexer across all enabled protocols
- When a better opportunity exists, Router rebalances
- User withdraws to their main wallet at any time
What the Router Optimizes
The Router seeks the highest sustainable yield within user-defined constraints. This means:- Evaluating current APY across all permitted vaults and markets
- Comparing yields across protocols and chains
- Accounting for costs and impacts of moving capital
- Filtering out unsustainable or artificially inflated yields
- Respecting liquidity constraints and withdrawal reliability