Skip to main content
Earn is a new capability that enables apps to generate yield on wallet balances via DeFi lending protocols. Deposit into vaults, withdraw at any time, and track positions in real time, all with a few API calls. Privy simplifies vault deployment, smart contract interactions, and onchain execution.
Earn is an Enterprise feature. Reach out to [email protected] to request access for your app.

Capabilities

  • Deposit and withdraw assets into yield vaults with a single API call per operation
  • Query positions to display real-time holdings, accrued yield, and vault shares
  • Collect fees from a configurable share of the yield generated through your app

How DeFi yield is generated

DeFi vaults allocate deposited assets into onchain lending markets where borrowers pay interest to access liquidity. That interest flows back to the vault, increasing the value of deposited shares over time. Vault strategies are managed by curators who determine how capital is allocated across markets to balance risk and return. APY fluctuates based on borrower demand, market utilization, and the curator’s allocation strategy. Some vaults also distribute additional token incentives on top of the base lending yield. All lending and borrowing happens onchain through non-custodial smart contracts.
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 the deposit action.

Supported vaults

Earn is built on the ERC-4626 tokenized vault standard and supports multiple protocols through a single API. Morpho vaults curated by Gauntlet and Steakhouse are available today in the Privy Dashboard. Morpho, Aave, and Kamino vaults across all supported chains are available on request. Contact [email protected] to enable your preferred vault. Do your own research when selecting a vault. You can find more information on the vaults supported in the Dashboard, including details on the liquidity and allocation below:

Revenue sharing

Privy helps deploy a fee vault that wraps the underlying Morpho vault. Through your app, users direct deposits into this fee vault, and the fee vault captures a configurable portion of the accrued yield as shares in a designated admin wallet. Your app can withdraw those shares at any time to collect fees.

Next steps

Privy does not control DeFi vaults or underlying protocols. Vault information is provided for reference only and may change or be inaccurate. Earnings are generated from third-party vaults and are not guaranteed. Using vaults involves risk, including 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 vaults at your own discretion. Privy does not provide investment, financial, legal, or tax advice.