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

The demo above is mock only. If you want to see onchain demos on Vibenet, head to Base chain demos.

Deposit Into a USDC Vault

This example uses viem@2.55.11 and @morpho-org/morpho-sdk@5.4.1.
This snippet is illustrative. It shows the shape of a vault integration on Base, not production-ready code. Follow Morpho’s documentation for current addresses, SDK details, and risk parameters.
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

Integrate Lending

Let users supply USDC to a money market.

Integrate Borrowing

Open a collateralized loan against WETH.