Read about DeFi (Decentralized Finance). Read about the Aave Protocol: [login to view URL]
The aim is to implement and achieve the following procedure.
Eg. you have taken debt from the compound protocol at a 15% interest rate.
1. Borrow a flash loan from the Aave protocol
2. Pay your debt on the compound protocol
3. Borrow via any other protocol at a 5% interest rate.
4. Payback your flash loan
Hence you have gained 10 % profit in a single transaction, without involving any collateral at all.
Hi,
Could you please elaborate what actually you want to do. Since Flash Loans need to be implemented on a Single transaction.
It would be required to write a solidity to batch all the transactions in one but we need to take care of the GAS fees and 0.09% interest rates on Aave protocol. But first i would like to understand further your steps...
Best Regards,