Set up
- Contact [email protected] to enable a Veda vault.
- 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.
- Once the vault is registered, find its vault ID under Wallet infrastructure > Earn in the Privy Dashboard.
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
rejectedbefore 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, andtvl_usdcome from Veda and take about 7 to 10 days to appear for a new vault. Show a fallback instead of0.available_liquidity_usdis alwaysnull. - Totals count Privy activity only.
total_depositedandtotal_withdrawninclude only deposits and withdrawals made through Privy.assets_in_vaultandshares_in_vaultare 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.

