Smart Wallets with Aave
Learn how to build DeFi applications that interact with Aave using Alchemy Smart Wallets. This recipe covers supplying and withdrawing assets with both our Core library and our Wallet APIs for seamless user experiences.
Prerequisites
- Have DAI available on your chosen chain (default: Arbitrum).
 - Alchemy API key, Account config and Gas Manager policy ID for sponsored transactions (you can follow the setup here)
 
Walkthrough
Check out this video walkthrough, and follow along with the quick start below:
Quick Start
- 
Clone and setup:
 - 
Configure environment:
 - 
Initialize smart wallet and get address:
 - 
Fund your smart wallet: Send 0.01+ DAI to the smart wallet address from step 3
 - 
Interact with Aave:
 
Success!
You can now interact with Aave protocol through smart wallets with sponsored gas fees, enabling seamless DeFi experiences for supplying, withdrawing, and managing liquidity without gas complexity.