Hi,
Lets discuss how to do arbitrage with Flashloans.
Thank you
Hey, I was just about to create this topic but I noticed thereās already an existing topic. Have you been able to make any progress in this area?
I havenāt got any reply but Ivan did mention they are coming out with a course just for flashloans. So just waiting for that.
Were you asking about flash loans on the Aave platform? I know they offer that option.
I was asking about flash loans in general. I know there are a bunch of platforms which provide that option. But I do know about AAve. Itāll be interesting to learn more about it.
Hi @aenhsaihan did you check the defi 201 course on our academy it explains everything you need to know about flashloans and Arbitrage. @amadeobrands is a great instructor.
Hey
Im trying to perform a flashloan for a couple of daysā¦ it shows me that āgas required exceeds allowance (11732908) or always failing transactionā
@amadeobrands does this mean that I dont have enough ethereum in my metamask to deploy my contract?
Found this cool cheat sheat for Flash loans using
See here the combo: https://t.co/Ng4duV6LuK?amp=1
I did make some profit at high DAI price and LOW Gas price
Hey I just signed up for the Academy. Iām wondering how deep I need to get into the programming side if all I want to be able to do is program flash loans at this point. Any advice would be great.
Hello sir, welcome to the Academy, glad to have you with us
If you want to start development from scratch the Javascript Programming for Blockchain Developers should be the first step.
After finish it, you can choose to go into Ethereum courses or take C++ Programming for Blockchain Developers, so you have a better picture and skills for any other programming course.
Bitcoin
Ethereum
Recommended
- Ethereum 101 (Fundamentals)
- Ethereum Smart Contract Programming 101
- Ethereum Smart Contract Programming 201
- Ethereum Smart Contract Security
- DeFi
- DeFi 101
- DeFi 201 (This is flash loans, Ethereum Programming required)
EOS
Gaming
Hope you find this useful.
If you have any doubt, please let us know so we can help you!
Carlos Z.
Thanks. I got into the Defi 201 videos to get the basic idea of flash loans and now I will backtrack a bit to ETH programming 101 to fill in the earlier materials before continuing.
hello guys,
Iām trying to follow the flash loan test as shown in the videos. When trying to get DAI from aave testnet (https://testnet.aave.com/faucet ) it just keep loading and loadingā¦so I donāt get anything.
same thing with other coins.
i have kovan testnet on metamask.
any ideas?
thanks
Hello, I am trying to create a flashloan and I noticed on the Aave site where it lists the live reserve asset addresses, that the ETH address looks odd and is also displayed in black instead of as a link.
At the top of the page it says āSince ETH is used directly in the protocol (instead of an abstraction such as WETH), we use a mock address to indicate ETH:0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE
ā
What does this mean exactly? If this is not a real eth address then what address should be used to pull from for flash loans if you want the loan to be gotten in eth?
Can anyone help me on this?
In case of arbitrage example in DeFi 201 course we need 2 exchanges.
Where can I find the uniswap factory from exchanges?
Hello Amadeo,
when I try to deploy Arbitrage.sol, after the approve on Metamask the transaction remain always pending.
Also with myflashloan.sol I have the same issue. There are Problems in Kovan network ? I forgot something to do ?
I have simply copied code from Github to Remix. But I have always these issues.
Thanks
Hi @amadeobrands!
When Iām trying to call makeArbitrage() from https://github.com/Robsonsjre/FlashloanUsecases/blob/master/contracts/arbitrage/Arbitrageur.sol it or any other contract functions remix warns me with a message āGas estimation errored with the following message (see below). The transaction execution will likely fail. Do you want to force sending?
The execution failed due to an exception. Revertedā
Iāve funded the contract as was explained in the basic flash loan example video. So, it should have enough funds to pay the aave fee. So, itās not that.
Any ideas?
The status of the transaction is just āFailā: https://kovan.etherscan.io/tx/0x67917484feedc8f984ffeff4473bb45007ed144f8ee45f4e480624b976dade90
No details on the error. By the way, when I was trying to make an arbitrage for 10 DAI, it was failing as well, but with āFail with error āThe requested amount is too small for a flashLoan.āā error message: https://kovan.etherscan.io/tx/0x9c97cd83221c02ee1c8aaf42fff463d1283cc929d1a960c468a667234f9bc9b7
So, I ended up with 10000 DAI that fails with no error message. Maybe something has changed and itās time to update the course slightly?
At the same time when I swap the addresses of UNISWAP_FACTORY_A and UNISWAP_FACTORY_B it fails correctly with the message āDid not profitā. As expected. https://kovan.etherscan.io/tx/0xb1b032b09bf60acea33c55b400a807d73d1cf591dabbd9cd6598a7b5730d22d1
Ouch. And now https://kovan-uniswap.netlify.app/swap and https://kovan-uniswap2.netlify.app/swap respond with " Unavailable For Legal Reasons". Could you please update the course, guys? @ivan
I had the same problem too. Iāve raised it as an issue on GitHub. Something must have changed with the API or so.
I know it may be very simple and itās probably not the issue but did you make sure you raised the Gas Fee