Skip to main content
Let users supply USDC to a third-party money market and manage the resulting protocol position from your app. Your app prepares and simulates each call; the user signs from their own wallet.

Demo

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

Supply USDC

clients.ts creates Base mainnet public and wallet clients from a server-side PRIVATE_KEY that every example imports.
These snippets are illustrative. They show the shape of a supply integration on Base, not production-ready code. Follow each protocol’s own documentation for current addresses, SDK details, and risk parameters: Morpho and Aave.
Supply to Morpho’s WETH/USDC market. Fetching by market ID avoids hardcoding its oracle, interest-rate model, and LLTV parameters.
supply-morpho.ts
Supply rates are variable, withdrawals depend on market liquidity, and every integration inherits protocol, oracle, and approval risk. Display current terms and simulate the exact transaction before asking the user to sign.

See Also

Integrate Borrowing

Open a collateralized loan against WETH.

Integrate an Earn Product

Route deposits into yield-bearing vaults.