bibhash1996 / aave-flash-loans

Flashloans using the aave lending pool and gain arbitrage.
GNU Affero General Public License v3.0
1 stars 1 forks source link

Could the code run correctly on 1/21/2022? #1

Open Vijayue opened 2 years ago

Vijayue commented 2 years ago

Hi, really thank you for your sharing!

I want to know if the code could run on 1/21/2022? Did you get profit by using the code? (If you don't mind to answer)

And have some questions about the code:

Firstly, for the below file Flashloan.sol, if we just need to change the token address in lines 16 and 17? What's the meaning of the “link address” in line 20? https://github.com/bibhash1996/aave-flash-loans/blob/master/contracts/Flashloan.sol

Secondly, if we need to make a .env file in the root dir?

Looking forward to your reply, thank you!

bibhash1996 commented 2 years ago

Hi, I was not able to successfully run this code. Was testing it on the Kovan testnet and was stuck in an issue (Some low level issue attaching a screenshot for the same). Had other priority task , so thought of coming back to this at a later stage. Any help from your side would be helpful. (I am a newbie to Blockchain)

LINK is another token (Chainlink). I was trying intermediate swaps b/w different tokens. Screenshot 2022-01-21 at 9 56 37 PM

Vijayue commented 2 years ago

Thank you for your reply!

I'm also a newbie for cryptocoin. But I'll try to solve the problem and have any progress will tell you.

Besides I found another repository(the below link) if have the same problem? https://github.com/bibhash1996/uniswap-sushiswap-arbitrage

Thank you again for your share!

bibhash1996 commented 2 years ago

This one should work, but was giving error in kovan( i believe due to liquidity). yet to try on mainnet.