What your customers experience
A customer opens your app, taps “Add funds,” enters an amount, pays with their debit card, picks a market, and sees their balance earning yield. All of it happens in under two minutes, with no crypto knowledge required. The stablecoin acquisition, cross-chain routing, and vault deposit happen in the background. When they want to withdraw, the same infrastructure runs in reverse.What you build
Drop in theEarn component to open a market selector. Customers fund from any source and pick where to deposit; the SDK handles the routing, bridging, and deposit.
Product-defined destinations
To target a specific vault or chain a deposit with another action (e.g., swap then deposit), use composable actions. These let you predefine the protocol, the route, and any intermediate steps.Supported protocols
| Protocol | Type | Networks |
|---|---|---|
| Aave V3 | Lending | Ethereum, Polygon, Base, Arbitrum, and more |
| Morpho | Vault / Lending | Ethereum, Base, Polygon |
| Yearn | Vault | Ethereum, Polygon, Arbitrum |
useEarnMarkets to query available markets by chain, token, and protocol at runtime.
How a yield product fits together
A yield product has three parts:- Funding: The SDK accepts card, bank, or crypto and routes to your vault
- Position tracking: Your backend reads the customer’s vault balance to display their yield
- Withdrawal: The SDK routes funds from the vault back to the customer’s preferred destination
For a complete walkthrough of funding a Morpho vault, see the Morpho vault deposit guide.