Skip to main content
Veda builds and runs vault strategies that can spread deposits across several yield sources. Veda deploys and operates each vault, and Privy registers it to your app. Your app uses the standard Earn API.

Set up

  1. Contact [email protected] to enable a Veda vault.
  2. Create a Privy wallet in your app and send its address to Veda. Veda sets it as the fee recipient at deployment, so it has to exist first.
  3. Once the vault is registered, find its vault ID under Wallet infrastructure > Earn in the Privy Dashboard.
Veda sends accrued fees to that wallet on a recurring schedule, per your agreement.

How Veda works with Privy

Veda vaults are BoringVaults, not ERC-4626 vaults. A few things behave differently:
  • Shares lock after each deposit. The lock lasts a short, vault-configured period, and a new deposit restarts it for the whole position. A withdrawal during the lock is rejected before anything is broadcast, and the error says when the shares unlock. Disable withdrawals in your UI until then.
  • No claim step. Rewards compound into the share price, so don’t call incentive claim for Veda vaults.
  • APY and TVL start out null. user_apy, app_apy, and tvl_usd come from Veda and take about 7 to 10 days to appear for a new vault. Show a fallback instead of 0. available_liquidity_usd is always null.
  • Totals count Privy activity only. total_deposited and total_withdrawn include only deposits and withdrawals made through Privy. assets_in_vault and shares_in_vault are read live from the vault.
  • One transaction each way. Deposits and withdrawals settle in a single transaction.

Veda docs

Learn how Veda’s BoringVault architecture works.
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.