Skip to main content
Your app configures earn settings from the Privy Dashboard, under Wallet infrastructure > Earn. There are two ways to get a vault: deploy one yourself, or have Privy deploy one for you.

Prerequisites

Deploy a vault yourself

Open the Wallet infrastructure > Earn page in the Privy Dashboard and configure a fee wrapper. During setup, your app selects:
  1. A Morpho vault to allocate assets into
  2. The percentage of generated yield your app receives
  3. An admin wallet to claim fees and manage the vault configuration
The admin wallet must sign onchain transactions to manage the vault and claim fees. Exchange wallets, cold storage, and other non-signing wallets do not work. Privy cannot reassign the admin wallet after creation.
Privy assigns all fee wrapper roles to the admin wallet. Developers can update fee wrapper configurations in the future. Learn more about fee wrapper roles here. Contact [email protected] to change the fee wrapper configuration.
Privy-generated admin wallets have no owner by default, and your app secret alone authorizes them. Assign an authorization key to require a second factor. See the security checklist for more details.

Reach out to Privy for other vaults

Aave vaults and additional Morpho vaults (other curators, chains, or tokens) are deployed by Privy rather than through the self-serve flow. Veda deploys Veda vaults, and Privy then registers them to your app. Contact [email protected] to enable any of these vaults. After deployment, the vault appears in the Dashboard alongside self-serve vaults. See the Aave and Veda integration guides for more information.

Copy the vault ID

After setup, Privy provides a unique vault_id for the vault. Copy this value — all deposit and withdraw API calls require it. To verify the vault is live, query its details with the get vault details endpoint:

Next steps

Deposit funds

Deposit assets from a wallet into a yield vault.