Enable apps and end users to earn on users’ stablecoin balances.
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.
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
Sponsor gas for your users; if your app has gas sponsorship enabled, Privy automatically sponsors gas for earn deposit, withdraw, and incentive claim actions
DeFi vaults track balances in shares. A deposit converts assets into shares at the current share price. As interest accrues, the share price rises - each share redeems for more of the underlying asset. Yield accrues passively with no claiming or compounding required, and withdrawals return the original deposit plus earned yield.Example: a wallet deposits 1,000 USDC at a share price of 1.00 and receives 1,000 shares. When the share price reaches 1.05, those shares are worth 1,050 USDC. No new shares are minted; existing shares appreciate.Vault shares are standard ERC-20 tokens and can be transferred between wallets like any other token.
Apps can deposit directly into Morpho and Aave vaults. The Privy Dashboard offers a select set of vaults for self-serve setup.To use a Morpho or Aave vault that isn’t listed, contact [email protected] and Privy will enable it for your app. See Setting up vaults to get started.
Vault aggregators can allocate a single deposit across several yield sources to optimize returns. Vault aggregation is available upon request, as aggregators craft bespoke strategies for each developer. Contact [email protected] to get started with Tempo Earn or Veda vaults for other EVM chains.Developers can integrate Tempo Earn and Veda vaults using the same Earn API endpoints for deposit, withdraw, and getting balance details.
Your app can earn revenue by keeping a configurable share of the yield generated by its users’ deposits. An admin wallet your app controls receives the fees. See revenue sharing for how to configure and collect fees across providers.
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.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Privy Docs","colors":{"primary":"#010110","light":"#FFFFFF"},"logo":{"light":"https://mintcdn.com/privy-c2af3412/Ih_Fo3QYM486gzWq/logo/privy-logo-light.png?fit=max\u0026auto=format\u0026n=Ih_Fo3QYM486gzWq\u0026q=85\u0026s=bd297b680ace8a13db4d9ce977f93180","dark":"https://mintcdn.com/privy-c2af3412/Ih_Fo3QYM486gzWq/logo/privy-logo-dark.png?fit=max\u0026auto=format\u0026n=Ih_Fo3QYM486gzWq\u0026q=85\u0026s=24d83970695ab19a1803a2eb00dbea4e"},"favicon":"https://mintcdn.com/privy-c2af3412/YByWVKlFbSpnpSJG/favicon.png?fit=max\u0026auto=format\u0026n=YByWVKlFbSpnpSJG\u0026q=85\u0026s=ee4038168ea586e5f72041e5e2a1f5c8","api":{"openapi":{"source":"https://api.staging.privy.io/v1/openapi.json"},"playground":{"display":"interactive"},"examples":{"languages":["curl","java","javascript","php","go"]},"mdx":{"server":"https://api.privy.io"}},"background":{"color":{"light":"#FFFFFF","dark":"#010110"}},"navbar":{"links":[{"href":"https://demo.privy.io","label":"Demo"},{"href":"https://privy.io/slack","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.privy.io"}},"seo":{"metatags":{"og:type":"website","og:site_name":"Privy Docs","og:image":"https://assets.privy.io/docs-og.png","twitter:title":"Privy Docs","twitter:card":"summary_large_image","twitter:image":"https://assets.privy.io/docs-og.png"},"organization":{"id":"https://www.privy.io/#organization","name":"Privy","url":"https://www.privy.io","logo":"https://assets.privy.io/docs-og.png","sameAs":["https://x.com/privy_io","https://github.com/privy-io"]}},"styling":{"codeblocks":"system","latex":true},"integrations":{"gtm":{"tagId":"GTM-WV9MVTB3"}},"contextual":{"options":["claude","chatgpt","cursor","vscode","mcp","copy","view"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"privy-c2af3412","hasAudioNarration":false,"actualSubdomain":"privy-c2af3412","customDomains":["docs.privy.io"],"gitSource":{"type":"github","owner":"privy-io","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aecc9ae476472d09cb894df","collectionId":"1b5f8b7f-2fa3-4e12-aea2-7cc2d8b90490","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aecc9ae476472d09cb894df"},"feedback":{"issues":true,"thumbs":true,"edits":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aee56315cc10aef44b0a641","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"Wallets","count":291},{"language":"default","tag":"API reference","count":255},{"language":"default","tag":"Recipes","count":141},{"language":"default","tag":"All recipes","count":140},{"language":"default","tag":"Identity","count":137},{"language":"default","tag":"Signatures and transactions","count":91},{"language":"default","tag":"Users","count":87},{"language":"default","tag":"Basics","count":86},{"language":"default","tag":"Financial flows","count":82},{"language":"default","tag":"Controls","count":76}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","href":"/_mintlify/custom/privy-c2af3412/106de3f982828597/style.css"}],"page":{"pagePath":"wallets/actions/earn/defi-vaults/overview","slug":"/wallets/actions/earn/defi-vaults/overview","pageMetadata":{"title":"DeFi vaults","sidebarTitle":"Overview","description":"Enable apps and end users to earn on users' stablecoin balances.","keywords":["earn","yield","DeFi vaults","ERC-4626","vault shares"],"href":"/wallets/actions/earn/defi-vaults/overview"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Enable apps and end users to earn on users’ stablecoin balances.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,OptimizedImage,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`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.`}),`\n`,_jsx(_components.p,{children:`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.`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/privy-c2af3412/7cXr-D-UUALqEUgn/images/earn-tempo.png?fit=max\u0026auto=format\u0026n=7cXr-D-UUALqEUgn\u0026q=85\u0026s=e832d803c823d717a7e5dad26d67bbd3`,alt:`Earn`,\"data-og-width\":`3686`,width:`3686`,\"data-og-height\":`2633`,height:`2633`,\"data-path\":`images/earn-tempo.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/privy-c2af3412/7cXr-D-UUALqEUgn/images/earn-tempo.png?w=280\u0026fit=max\u0026auto=format\u0026n=7cXr-D-UUALqEUgn\u0026q=85\u0026s=602ff200b4a05a3bb95648da7c25defd 280w, https://mintcdn.com/privy-c2af3412/7cXr-D-UUALqEUgn/images/earn-tempo.png?w=560\u0026fit=max\u0026auto=format\u0026n=7cXr-D-UUALqEUgn\u0026q=85\u0026s=0d805c8b8d106847713ae1b36d41184b 560w, https://mintcdn.com/privy-c2af3412/7cXr-D-UUALqEUgn/images/earn-tempo.png?w=840\u0026fit=max\u0026auto=format\u0026n=7cXr-D-UUALqEUgn\u0026q=85\u0026s=16e947ff00283dd5233810a4875c8c8d 840w, https://mintcdn.com/privy-c2af3412/7cXr-D-UUALqEUgn/images/earn-tempo.png?w=1100\u0026fit=max\u0026auto=format\u0026n=7cXr-D-UUALqEUgn\u0026q=85\u0026s=0e159488662102abfcc51fb692d664fa 1100w, https://mintcdn.com/privy-c2af3412/7cXr-D-UUALqEUgn/images/earn-tempo.png?w=1650\u0026fit=max\u0026auto=format\u0026n=7cXr-D-UUALqEUgn\u0026q=85\u0026s=a48c92df8372fd96636f5a01f348a199 1650w, https://mintcdn.com/privy-c2af3412/7cXr-D-UUALqEUgn/images/earn-tempo.png?w=2500\u0026fit=max\u0026auto=format\u0026n=7cXr-D-UUALqEUgn\u0026q=85\u0026s=8b2adfc01b49834052942b59a3d5e40a 2500w`}),`\n`,_jsx(Heading,{level:`2`,id:`capabilities`,children:`Capabilities`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Deposit and withdraw`}),` assets into yield vaults with a single API call per operation`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Query positions`}),` to display real-time holdings, accrued yield, and vault shares`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Collect fees`}),` from a configurable share of the yield generated through your app`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Sponsor gas`}),` for your users; if your app has `,_jsx(_components.a,{href:`/wallets/actions/overview#gas-management`,children:`gas sponsorship`}),` enabled, Privy automatically sponsors gas for earn deposit, withdraw, and incentive claim actions`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Spend from vault balances`}),` with `,_jsx(_components.a,{href:`/financial-flows/cards/pre-built-components/spend-from-vault`,children:`stablecoin-backed cards`}),`, for approved card programs`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`how-defi-yield-accrues`,children:`How DeFi yield accrues`}),`\n`,_jsxs(_components.p,{children:[`DeFi vaults track balances in `,_jsx(_components.strong,{children:`shares`}),`. A deposit converts assets into shares at the current share price. As interest accrues, the share price rises - each share redeems for more of the underlying asset. Yield accrues passively with no claiming or compounding required, and withdrawals return the original deposit plus earned yield.`]}),`\n`,_jsx(_components.p,{children:`Example: a wallet deposits 1,000 USDC at a share price of 1.00 and receives 1,000 shares. When the share price reaches 1.05, those shares are worth 1,050 USDC. No new shares are minted; existing shares appreciate.`}),`\n`,_jsx(_components.p,{children:`Vault shares are standard ERC-20 tokens and can be transferred between wallets like any other token.`}),`\n`,_jsx(Heading,{level:`2`,id:`direct-protocol-access`,children:`Direct protocol access`}),`\n`,_jsxs(_components.p,{children:[`Apps can deposit directly into `,_jsx(_components.a,{href:`/wallets/actions/earn/providers/morpho`,children:`Morpho`}),` and `,_jsx(_components.a,{href:`/wallets/actions/earn/providers/aave`,children:`Aave`}),` vaults. The `,_jsx(_components.a,{href:`https://dashboard.privy.io`,children:`Privy Dashboard`}),` offers a select set of vaults for self-serve setup.`]}),`\n`,_jsxs(_components.p,{children:[`To use a Morpho or Aave vault that isn’t listed, contact `,_jsx(_components.a,{href:`mailto:[email protected]`,children:`[email protected]`}),` and Privy will enable it for your app. See `,_jsx(_components.a,{href:`/wallets/actions/earn/setup`,children:`Setting up vaults`}),` to get started.`]}),`\n`,_jsx(Heading,{level:`2`,id:`vault-aggregation`,children:`Vault aggregation`}),`\n`,_jsxs(_components.p,{children:[`Vault aggregators can allocate a single deposit across several yield sources to optimize returns. Vault aggregation is available upon request, as aggregators craft bespoke strategies for each developer. Contact `,_jsx(_components.a,{href:`mailto:[email protected]`,children:`[email protected]`}),` to get started with `,_jsx(_components.a,{href:`/wallets/actions/earn/providers/tempo-earn`,children:`Tempo Earn`}),` or `,_jsx(_components.a,{href:`/wallets/actions/earn/providers/veda`,children:`Veda`}),` vaults for other EVM chains.`]}),`\n`,_jsx(_components.p,{children:`Developers can integrate Tempo Earn and Veda vaults using the same Earn API endpoints for deposit, withdraw, and getting balance details.`}),`\n`,_jsx(Heading,{level:`2`,id:`revenue-sharing`,children:`Revenue sharing`}),`\n`,_jsxs(_components.p,{children:[`Your app can earn revenue by keeping a configurable share of the yield generated by its users’ deposits. An admin wallet your app controls receives the fees. See `,_jsx(_components.a,{href:`/wallets/actions/earn/revenue-sharing`,children:`revenue sharing`}),` for how to configure and collect fees across providers.`]}),`\n`,_jsx(Warning,{title:`Disclaimer`,children:_jsx(_components.p,{children:`Privy does not control DeFi vaults or underlying protocols. Vault information is provided for\nreference only and may change or be inaccurate. Earnings are generated from third-party vaults and\nare not guaranteed. Using vaults involves risk, including loss of funds. These materials are for\ngeneral information purposes only and are not investment advice or a recommendation or\nsolicitation to engage in any specific transaction. You are responsible for evaluating vaults at\nyour own discretion. Privy does not provide investment, financial, legal, or tax advice.`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"DeFi vaults","sidebarTitle":"Overview","description":"Enable apps and end users to earn on users' stablecoin balances.","keywords":["earn","yield","DeFi vaults","ERC-4626","vault shares"],"href":"/wallets/actions/earn/defi-vaults/overview"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Capabilities","slug":"capabilities","depth":2,"children":[]},{"title":"How DeFi yield accrues","slug":"how-defi-yield-accrues","depth":2,"children":[]},{"title":"Direct protocol access","slug":"direct-protocol-access","depth":2,"children":[]},{"title":"Vault aggregation","slug":"vault-aggregation","depth":2,"children":[]},{"title":"Revenue sharing","slug":"revenue-sharing","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/privy-c2af3412/9a6cfa36ced76db0/welcome.js","/_mintlify/custom/privy-c2af3412/1af79d46bd64cd8b/fullstory.js","/_mintlify/custom/privy-c2af3412/e4d91321024fde21/recipes/recipes-search.js","/_mintlify/custom/privy-c2af3412/d31c5451398ab22c/check-links.js"],"subdomain":"privy-c2af3412","siteName":"Privy Docs","title":"DeFi vaults - Privy Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-06T22:36:05.485Z","originalFileLocation":"wallets/actions/earn/defi-vaults/overview.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Enable apps and end users to earn on users\u0026#x27; stablecoin balances.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Privy Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/privy-c2af3412/bJgmnaRQwH8sO8y5/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/privy-c2af3412/bJgmnaRQwH8sO8y5/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/privy-c2af3412/bJgmnaRQwH8sO8y5/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/privy-c2af3412/bJgmnaRQwH8sO8y5/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/privy-c2af3412/bJgmnaRQwH8sO8y5/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/privy-c2af3412/bJgmnaRQwH8sO8y5/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/privy-c2af3412/bJgmnaRQwH8sO8y5/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/privy-c2af3412/bJgmnaRQwH8sO8y5/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/privy-c2af3412/bJgmnaRQwH8sO8y5/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"DeFi vaults - Privy Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Enable apps and end users to earn on users\u0026#x27; stablecoin balances.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Privy Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.privy.io/wallets/actions/earn/defi-vaults/overview\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://assets.privy.io/docs-og.png\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Privy Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Enable apps and end users to earn on users\u0026#x27; stablecoin balances.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://assets.privy.io/docs-og.png\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/privy-c2af3412/bJgmnaRQwH8sO8y5/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Privy Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#010110\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.privy.io/wallets/actions/earn/defi-vaults/overview\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/wallets/actions/earn/defi-vaults/overview.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.privy.io/#organization\",\"name\":\"Privy\",\"url\":\"https://www.privy.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://assets.privy.io/docs-og.png\"},\"sameAs\":[\"https://x.com/privy_io\",\"https://github.com/privy-io\"]},{\"@type\":\"WebSite\",\"@id\":\"https://docs.privy.io#website\",\"name\":\"Privy Docs\",\"url\":\"https://docs.privy.io\",\"publisher\":{\"@id\":\"https://www.privy.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.privy.io/wallets/actions/earn/defi-vaults/overview#webpage\",\"url\":\"https://docs.privy.io/wallets/actions/earn/defi-vaults/overview\",\"name\":\"DeFi vaults\",\"description\":\"Enable apps and end users to earn on users' stablecoin balances.\",\"dateModified\":\"2026-11-06T22:36:05.485Z\",\"isPartOf\":{\"@id\":\"https://docs.privy.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.privy.io/wallets/actions/earn/defi-vaults/overview#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.privy.io/wallets/actions/earn/defi-vaults/overview#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Privy Docs\",\"item\":\"https://docs.privy.io\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DeFi vaults\",\"item\":\"https://docs.privy.io/wallets/actions/earn/defi-vaults/overview\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.privy.io/wallets/actions/earn/defi-vaults/overview#article\",\"headline\":\"DeFi vaults\",\"name\":\"DeFi vaults\",\"description\":\"Enable apps and end users to earn on users' stablecoin balances.\",\"url\":\"https://docs.privy.io/wallets/actions/earn/defi-vaults/overview\",\"mainEntityOfPage\":{\"@id\":\"https://docs.privy.io/wallets/actions/earn/defi-vaults/overview#webpage\"},\"image\":\"https://assets.privy.io/docs-og.png\",\"dateModified\":\"2026-11-06T22:36:05.485Z\",\"keywords\":\"earn, yield, DeFi vaults, ERC-4626, vault shares\",\"publisher\":{\"@id\":\"https://www.privy.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.privy.io#website\"}}]}\u003c/script>","siteName":"Privy Docs","nav":{"global":null,"tabs":[{"tab":"Basics","pages":[{"title":"Basics","href":"/basics/get-started/about"}]},{"tab":"Wallets","menu":[{"item":"Overview","pages":[{"title":"Overview","href":"/wallets/overview"}]},{"item":"Embedded wallets","pages":[{"title":"Embedded wallets","href":"/wallets/overview/embedded"}]},{"item":"Organization wallets","pages":[{"title":"Organization wallets","href":"/organizations/overview"}]},{"item":"External wallets","pages":[{"title":"External wallets","href":"/wallets/connectors/overview"}]},{"item":"Signatures and transactions","pages":[{"title":"Signatures and transactions","href":"/wallets/signatures-and-transactions"}]},{"item":"Balances and webhooks","pages":[{"title":"Balances and webhooks","href":"/wallets/gas-and-asset-management/assets/overview"}]},{"item":"Gas and fee management","pages":[{"title":"Gas and fee management","href":"/wallets/gas-and-asset-management/gas/overview"}]}],"pages":[{"title":"Wallets","href":"/wallets/overview"}]},{"tab":"Financial flows","menu":[{"item":"Overview","pages":[{"title":"Overview","href":"/financial-flows/overview"}]},{"item":"Deposits","pages":[{"title":"Deposits","href":"/financial-flows/deposits/overview"}]},{"item":"Payouts","pages":[{"title":"Payouts","href":"/financial-flows/payouts/overview"}]},{"item":"Earn","groups":[{"group":"Earn","pages":[{"sidebarTitle":"Overview","title":"Overview","href":"/wallets/actions/earn/overview"}]},{"group":"Tokenized money market funds","pages":[{"title":"Tokenized money market funds","sidebarTitle":"Overview","description":"Enable end users to earn on stablecoin balances.","href":"/wallets/actions/earn/tokenized-money-market-funds/overview"}]},{"group":"DeFi vaults","pages":[{"title":"DeFi vaults","sidebarTitle":"Overview","href":"/wallets/actions/earn/defi-vaults/overview"},{"group":"Get started","pages":[{"sidebarTitle":"Setting up vaults","title":"Setting up vaults","description":"Deploy a fee wrapper and configure your vault in the Privy Dashboard.","href":"/wallets/actions/earn/setup"},{"sidebarTitle":"Revenue sharing","title":"Revenue sharing","href":"/wallets/actions/earn/revenue-sharing"},{"title":"Policies","sidebarTitle":"Policies","href":"/wallets/actions/earn/policies"}]},{"group":"Vault actions","pages":[{"title":"Deposit funds","sidebarTitle":"Deposit funds","href":"/wallets/actions/earn/deposit"},{"title":"Withdraw assets","sidebarTitle":"Withdraw assets","href":"/wallets/actions/earn/withdraw"},{"title":"Claim rewards","sidebarTitle":"Claim rewards","href":"/wallets/actions/earn/claim"},{"title":"Collect performance fees","sidebarTitle":"Collect performance fees","href":"/wallets/actions/earn/collect-fees"}]},{"group":"Positions and monitoring","pages":[{"title":"Get vault position","sidebarTitle":"Get vault position","href":"/wallets/actions/earn/get-vault-position"},{"title":"Get vault details","sidebarTitle":"Get vault details","href":"/wallets/actions/earn/get-vault-details"},{"title":"Webhooks","sidebarTitle":"Webhooks","href":"/wallets/actions/earn/webhooks"}]},{"group":"Providers","pages":[{"sidebarTitle":"Morpho","title":"Morpho","href":"/wallets/actions/earn/providers/morpho"},{"sidebarTitle":"Aave","title":"Aave","href":"/wallets/actions/earn/providers/aave"},{"sidebarTitle":"Tempo Earn","title":"Tempo Earn","href":"/wallets/actions/earn/providers/tempo-earn"},{"sidebarTitle":"Veda","title":"Veda","href":"/wallets/actions/earn/providers/veda"}]}]}]},{"item":"Cards","pages":[{"title":"Cards","href":"/financial-flows/cards/overview"}]},{"item":"Trade","pages":[{"title":"Trade","href":"/wallets/actions/swap/overview"}]},{"item":"Monetization","pages":[{"title":"Monetization","href":"/financial-flows/monetization"}]},{"item":"Treasury management","pages":[{"title":"Treasury management","href":"/treasury-management/overview"}]},{"item":"Private transactions","pages":[{"title":"Private transactions","href":"/financial-flows/private-transactions"}]}]},{"tab":"Controls and policies","menu":[{"item":"Controls","pages":[{"title":"Controls","href":"/controls/overview"}]},{"item":"Policies","pages":[{"title":"Policies","href":"/controls/policies/overview"}]},{"item":"Manual approvals","pages":[{"title":"Manual approvals","href":"/controls/dashboard/overview"}]}],"pages":[{"title":"Controls and policies","href":"/controls/overview"}]},{"tab":"Identity","menu":[{"item":"Authentication","pages":[{"title":"Authentication","href":"/authentication/overview"}]},{"item":"Users","pages":[{"title":"Users","href":"/user-management/users/overview"}]},{"item":"KYC and KYB","pages":[{"title":"KYC and KYB","href":"/kyc-kyb/overview"}]}],"pages":[{"title":"Identity","href":"/authentication/overview"}]},{"tab":"Security","pages":[{"title":"Security","href":"/security/overview"}]},{"tab":"Recipes","pages":[{"title":"Recipes","href":"/recipes/overview"}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/api-reference/introduction"}]}]},"basePath":"","title":"DeFi vaults - Privy Docs","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-DMoL6lHz.js","lightbox-handle-r17bVUz3.js"]}