I'm design an Arbitrage bot, and I wanted it to grab the funds from a flash loan.
How would you implement this?
in general, your app needs to have two parts:
This tutorial shows you how to deploy a smart contract to receive and use a flashloan from Aave V3.
This one is a step-by-step guide on how to develop and deploy the smart contract using HardHat. It is based on the Avalanche Fuji testnet, but it can be configured for any chain supported by Aave.