Skip to main content
Embed a vault-based earn product through third-party protocols on Base. The user deposits once and receives vault shares; the vault abstracts its underlying market allocations while your app shows current redeemable value and risk.

Demo

Deposit into a USDC vault

Both examples use viem@2.55.11 and @morpho-org/morpho-sdk@5.4.1. The Moonwell tab also uses @moonwell-fi/moonwell-sdk@0.22.0 for its maintained deployment addresses.
Deposit into Steakhouse Prime USDC, a Morpho Vault V2 on Base. Treat the address as pinned configuration and review it whenever you upgrade the integration.
deposit-morpho-vault.ts
Vault yield is variable and not guaranteed. Review the curator, allocation strategy, fees, withdrawal liquidity, and smart-contract risk before listing a vault, and show users the current share-to-asset value rather than a fixed return.

See also