A Next.js app that shows how to build DeFi lending interfaces using Dynamic's MPC wallets and Aave V3. Users can supply assets, borrow against collateral, and manage their positions with a smooth, embedded wallet experience.
Watch how it works:
- Supply assets to earn yield on your stablecoins
- Borrow against your supplied collateral
- Monitor your positions and account health in real-time
- Preview transactions before signing with built-in simulation
-
Clone and install
git clone <repository-url> cd aave bun install
-
Set up your environment
cp .env.example .env.local # Add your Dynamic Environment ID to .env.local
-
Start the dev server
bun dev
-
Open your browser to http://localhost:3000
For a detailed walkthrough of the integration, including code explanations, configuration tips, and troubleshooting: