> ## Documentation Index
> Fetch the complete documentation index at: https://www.dynamic.xyz/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Earn Overview

> Put wallet balances to work with yield-generating vaults built in partnership with Morpho

## Introduction

Dynamic has partnered with [Morpho](https://morpho.org/) to bring yield capabilities directly into your app. Your users can deposit stablecoins into curated, ERC-4626 vaults, withdraw at any time, and track their position in real time — all without leaving your app.

## What you can offer your users

* **Deposit and withdraw** assets into yield vaults with a seamless in-app experience
* **Earn yield** in the same asset your users deposit — deposit USDC, earn USDC
* **Track positions** with real-time holdings and accrued yield

## Supported chains

Earn vaults are EVM-only today, available on Ethereum, Base, Arbitrum, Optimism, Polygon, Monad, and Stable.

## Default vaults

These Morpho vaults are enabled by default and returned by [`listYieldVaults`](/docs/javascript/reference/client/list-yield-vaults). `netApy` and `tvlUsd` are live figures — treat the values below as a snapshot, not a guarantee.

| Vault                   | Curator              | Asset | Chain    | Net APY | TVL       |
| ----------------------- | -------------------- | ----- | -------- | ------- | --------- |
| `steakhouse-prime-usdc` | Steakhouse Financial | USDC  | Base     | 4.17%   | \$428.25M |
| `gauntlet-usdc-prime`   | Gauntlet             | USDC  | Base     | 4.17%   | \$167.21M |
| `galaxy-usdc-quality`   | Galaxy               | USDC  | Ethereum | 3.96%   | \$1.18M   |
| `galaxy-usdt-quality`   | Galaxy               | USDT  | Ethereum | 2.09%   | \$5.00    |
| `galaxy-weth-quality`   | Galaxy               | WETH  | Ethereum | 1.20%   | \$21.84   |
| `hyperithm-usdc-apex`   | Hyperithm            | USDC  | Monad    | —       | —         |
| `stableearn`            | Gauntlet             | USDT0 | Stable   | 4.80%   | \$25.47M  |

<Note>
  Other vaults can be enabled for your environment — [contact us](https://www.dynamic.xyz/talk-to-us) to have one added.
</Note>

## Key concepts

You don't need a DeFi background to build with Earn — these are the only ideas you need:

| Term           | What it means for you                                                                                                                                                                                          |
| -------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Vault**      | A smart contract that pools deposited stablecoins and lends them out through a DeFi protocol. Each vault has an opaque `vaultId` you pass to every Earn function.                                              |
| **Shares**     | An internal accounting balance the vault credits you when you deposit. Your share count doesn't change on its own — it's not something to show a user.                                                         |
| **Assets**     | What your shares are worth right now, in the underlying token (e.g. USDC). This is the number that grows as yield accrues.                                                                                     |
| **Base yield** | The vault's passive return. Nothing to claim — it shows up automatically as `assets` growing while `shares` stays flat.                                                                                        |
| **Rewards**    | A separate, optional bonus paid in another token (e.g. a campaign incentive). Unlike base yield, rewards sit unclaimed until you call [`claimYieldRewards`](/docs/javascript/reference/client/claim-yield-rewards). |

<Tip>
  A wallet's `shares` in a vault stay fixed between deposits and withdrawals — only `assets` moves. Always display `assets`, never `shares`, when showing a user their balance or how much they've earned.
</Tip>

<Warning>
  Your app should make clear to end users that yield is generated via a DeFi protocol independent from the wallet provider. Users keep full control of their assets and should explicitly direct any deposit or supply action.
</Warning>

## Using the Earn functions

This is the full lifecycle:

1. [`listYieldVaults`](/docs/javascript/reference/client/list-yield-vaults) — see which vaults are enabled for your environment.
2. [`getYieldDetails`](/docs/javascript/reference/client/get-yield-details) — get a specific vault's asset, decimals, and other metadata.
3. [`depositToYieldVault`](/docs/javascript/reference/client/deposit-to-yield-vault) — deposit a wallet's funds into a vault.
4. [`getYieldPosition`](/docs/javascript/reference/client/get-yield-position) — read a wallet's current `assets` balance in a vault. This is the number to show a user — it grows on its own as yield accrues.
5. [`getYieldRewards`](/docs/javascript/reference/client/get-yield-rewards) and [`claimYieldRewards`](/docs/javascript/reference/client/claim-yield-rewards) — check for and claim bonus token rewards, if the vault runs a campaign.
6. [`withdrawFromYieldVault`](/docs/javascript/reference/client/withdraw-from-yield-vault) — withdraw a wallet's position, in whole or in part.

See each function's reference page for parameters, return types, and usage examples.

<Info>
  Do your own research when selecting a vault or lending market. APY is variable and not guaranteed. Review the protocol documentation and understand the risks before depositing funds.
</Info>

<Warning>
  Dynamic does not control DeFi vaults, lending markets, or the underlying protocols. Vault and market information is provided for reference only and may change or be inaccurate. Earnings are generated from third-party protocols and are not guaranteed. Using vaults and lending markets involves risk, including potential loss of funds. These materials are for general information purposes only and are not investment advice or a recommendation or solicitation to engage in any specific transaction. You are responsible for evaluating protocols and vaults at your own discretion. Dynamic does not provide investment, financial, legal, or tax advice.
</Warning>
