I am halfway at watching the video, and I just want to thank you a lot for this tutorial. This is the best flashloan tutorial on youtube that I watched until now.
@BlockExplorerMedia2 жыл бұрын
Thanks my friend - I appreciate that! : )
@Ninjajitsu562 Жыл бұрын
why do i get error when i import files he says import from dpendencies? i copied the green and pink lines in git hub?
@saheb1009 Жыл бұрын
@@BlockExplorerMedia can this be done in polygon chain?
@onekycarscanners6002 Жыл бұрын
@@saheb1009 why are you scared of fees. Haha okay yeah it could work I guess just change the variables that represent matic from eth also router address.
@ekwh84 Жыл бұрын
Bro please don't stop making content. Your tutorials are some of the most easily digestible Solidity Tutorials online hands down. Even when I run into issue it's easy to fix because the foundation of how you deliver the information is solid. I'm not a complete novice when it comes to solidity but I'm also not an expert. My point is these are good for people of all levels even those who want to understand the code just so they now a little about how smart contracts work. Please don't stop making these videos they're awesome. If you're not gonna do this here on youtube at least start a Udemy class or something. Key point being your work is needed in this space. Thank' You.
@BlockExplorerMedia Жыл бұрын
I really appreciate the kind words. I've had a bit of a lull but new video dropping tomorrow. Thanks for your support!
@MrLawalker9 ай бұрын
Yeah, this dude, absolutely, rocks.
@bxmoreno19889 ай бұрын
@@BlockExplorerMedia brother can you mentor me I signed up to your Patreon and saw it had no videos 😂 But this video is gold literally
@JRis444 ай бұрын
So with all the praise of this video. I'm assuming there was success in one of you creating flash loans?
@arieloxford6790 Жыл бұрын
I've been trying to find a tutorial this robust for about 2 years. Thank you!
@Ninjajitsu562 Жыл бұрын
has this method worked for you
@jrsantos1737 Жыл бұрын
hands down, the best ever flash loan arbitrage tutorial. thank you for detailed explanation.
@sihledlamini697110 ай бұрын
id like to get something straight , do we have to deposit the 1500 USDC and 1500 DAI ($3000) from our own personal metamask wallet ? Or these funds comes from the test tokens faucet?
@Dreadz530 Жыл бұрын
Just realized this video is also form the same creator as the website I was just reading an article on 30 min ago.. so dope that you have channel too and not just a bullshit one so you can say you do. This video is very well put together and you speak clearly and slowly it’s almost soothing haha 😂. Please keep up the content these kinds of quality videos will be helping people for years to come I’m subbing after the comment and clicking the bell haha
@BlockExplorerMedia Жыл бұрын
Thanks, I appreciate your kind words. Which website was that? I don't have one : ) I should have a new video dropping in the next day or so - thanks!
@laurennoyb5399 ай бұрын
Are there any good videos on how to code this kind of thing? I haven't coded in almost 30yrs.
@lunalogicradio3555 Жыл бұрын
the only tutorials where my adhd doesnt take over lolz,thank you
@ItsElMago9 ай бұрын
still works the code?
@repoburner2 ай бұрын
@@ItsElMago the code didn't work for me because I think infura stopped supporting goerli
@antonytoaquiza1872 жыл бұрын
As someone who doesn't know anything about programming this looks titanically impossible, well this is going to be a long ride
@tamaraebiogosi90762 жыл бұрын
yup the first tutorial to actually work!!! Damn you're good
@hashimnaushahi2 жыл бұрын
Thank you so much for creating and sharing this amazing tutorial video! Quick question... Do you have a video or could you create video which shows how to create this development setup for people who never coded anything before but still want to follow this tutorial step by step? I myself am not a developer and I know such a video would be really helpful for me.
@omega3fatass61 Жыл бұрын
imo you really have to learn at least some basic solidity and study how transactions happen under the hood (what you're interacting with in order to do this) to fully understand and get the maximum benefit from using stuff like this.
@CyberDTech6 ай бұрын
I can help with that.
@vstargold76002 ай бұрын
@@CyberDTech hwlp me plz
@CyberDTechАй бұрын
@@vstargold7600yes
@Sianae Жыл бұрын
Best explanation ever on executing a flashloan in KZbin by the way Did you recieved usdc in metamask wallet end of it ??? Please reply I'm eagerly waiting for you reply 😊
@DomedIsDoomed Жыл бұрын
Great video, concise and exactly what you need to get started!
@Ninjajitsu562 Жыл бұрын
why do i get error when i import files he says import from dpendencies? i copied the green and pink lines in git hub?
@zhaofour9833 Жыл бұрын
Clear and amazing. Better than any related videos which gonna charge lots of $
@Fansuri85 Жыл бұрын
What a great tutorial. I am totally newbie on this but your step-by-step guide helped a lot. But I did receive this message "'insufficient funds for intrinsic transaction cost'", and I am wondering, what's the minimum ETH I should deposit? I just created a totally new wallet in Metamask, but not sure how much ETH should I transfer or depo, just for this tutorial purpose.
@Fansuri85 Жыл бұрын
Just found out that we actually need some faucet goerliETH for the transaction fee to deploy the fast loan contract. I thought we just need the faucet USDC only for testing. Thanks again for the tutorial
@sherpya Жыл бұрын
@@Fansuri85 yes you always need native coin for the gas fee
@bakhshizade Жыл бұрын
@@Fansuri85have you been successful using this method?
@tommytombing03697 ай бұрын
Do i need to write that smart contract to do flash loan arbitrage on Aave?
@Hash010112 жыл бұрын
This was a brilliant tutorial explaining from scratch how use flash loans. Can u make video on flashbots and reentrancy hacks too
@omega3fatass61 Жыл бұрын
lmao
@LupeMusy13 күн бұрын
Thanks for the forecast! Just a quick off-topic question: I have a SafePal wallet with USDT, and I have the seed phrase. (alarm fetch churn bridge exercise tape speak race clerk couch crater letter). Could you explain how to move them to Binance?
@andriikliuiko7267 Жыл бұрын
thank you for your efforts in this video, know it really takes a lot of effort to make things end-to-end. Nice work!
@pneptune58516 ай бұрын
Thank you it worked, take care!
@pfaq Жыл бұрын
I made an cross exchange arbitrage bot with flash loan. What no one tells you, is that miners who land the block have control over the transactions that will go on the block. So they can manipulate who will take the arbitrage oportunities.
@JS-jq8pu Жыл бұрын
any tips to start creating a cross exchange arbitrage bot with flashloans?
@pfaq Жыл бұрын
@@JS-jq8pu there's no shortcuts, you can look for degenbot to have some idea if you understand python. the concept is basically keep track of current reservers of a pair and calculate the future by filtering pending transactions on the blockchain> You will also need code in solidity, there's no way to run (but is not as hard as it looks, honestly is the easiest part). I have nothing linked with degenbot, it's just the only arbitrage real content i ever saw in the internet, and i still not use it, i made all my stuff. It's a lot of work (for real, there's no limit to upgrade), as more exchanges you implement more opportunities and also more profitable each opportunity will be, so it's kinda exponential. I don't know what more i can tell you, ask me a more specific question if u want. Currently im making just few dollars a day, probably an average of 5-6. But is increasing as i upgrade my code. January was few cents a day
@LORDUPAKO2 жыл бұрын
Thank you for the excellent tutorial. Does the test wallet require any funds prior to execution of the script?
@gilliangertse47968 ай бұрын
Hi. Is it possible to fund the contract with less than 1500? If so, what is the minimum?
@shaikazaruddin45 Жыл бұрын
What is the initial amount should have in wallet to do this complete project
@doc.greenthumb Жыл бұрын
This tutorial was really helpful! The only issue I had was that the USDC I obtained using Aave's faucet had a different contract address. Is there a way I can supply the DEX with the USDC using the address that Aave expects? I apologize for my poor English. :(
@_SleekGeek Жыл бұрын
cc :waiting for the reply too... thanks in advance . for more context: ## DAI-TestnetMintableERC20-Aave token (Goerli): your video Aave's faucet addressess - 0xDF1742fE5b0bFc12331D8EAec6b478DfDbD31464 ~ the new Aave's faucet contract addresses - ` 0x75Ab5AB1Eef154C0352Fc31D2428Cef80C7F8B33 ` ## USDC-TestnetMintableERC20-Aave token(Goerli): your video Aave's faucet addresses - 0xA2025B15a1757311bfD68cb14eaeFCc237AF5b43 ~ the new Aave's faucet contract addresses -` 0x9FD21bE27A2B059a288229361E2fA632D8D2d074 `
@saheb1009 Жыл бұрын
Did u get help?
@jm7990 Жыл бұрын
Use v3 of the USDC faucet token, I was using v2 and it was giving me gas failure errors
@praghav1988 Жыл бұрын
Did you tried using on Mainet and did it worked ??
@dominiciyasele98654 ай бұрын
Hi One question pls; if I want to deploy the dex contract on the mainnet, would it cost me the 1500 USDC and 1500 DAI as it's done in the video using the test tokens? If no, how much minimum would it reasonably cost?
@Silvervalist8 ай бұрын
Super nice tutorial! Very pleasant. I have 2 questions: 1. For Add liquidity, I see 1,500 USDC while the Flashloan is 1,000 USDC. Is adding 1,000 as liquidity possible? What upper security margin should we consider in percentage? 2. For Approve, i see 1,200 DAI (1200000000000000000000) while USDC is 1,000. Why 1200 DAI?
@comosaycomosah Жыл бұрын
Gosh you guys have the best tutorials 💯 seriously been so helpful
@onostv9175 Жыл бұрын
Thanks bro, best flashloan tutorial I have ever watched
@josephdelgiorgio39972 жыл бұрын
This is my favorite video of yours so far. Thanks!
@josephdelgiorgio39972 жыл бұрын
Just out of curiosity...If I were to run the V2 on mainnet, with my own USDC/DAI would it return similar profits? aka, press button=make me rich? Lol
@BlockExplorerMedia2 жыл бұрын
Thanks appreciate it!!
@BlockExplorerMedia2 жыл бұрын
Well the 'make me rich' part all comes down to what arbitrage opportunity you've found. In my example it's a little contrived, of course, but I've heard that people have made some serious bacon from flash loans. The potential is definitely there!
@MrMike44v2 жыл бұрын
Great tutorial, now i was wondering if you can make it with DODO or DYDX
@swisssakura51772 ай бұрын
Excellent material. How much min starting capital is needed please? Thank you.
@MoviePunk9999 күн бұрын
Bitcoin is the best-performing asset of the decade. Insane!
@wenrui25548 ай бұрын
Hi how do i populate the infura goreli endpoint
@RichardRobinson-q3w Жыл бұрын
hello, i tried this on my vscode but am having issues deploying it
@snehamandal5376 Жыл бұрын
sir can't we perform arbitrage on test net directly without using the dex contract??
@JackBNimbletradez9 ай бұрын
Undeclared identifier line 39 column 5. Pool variable is undeclared. How do I fix?
@sergiofarias16484 ай бұрын
Sorry, minute 9'42 when clicked on botton C on the botton 2 windows were opened on the top. I didnt understand how those were opened
@bersmizaev3072 жыл бұрын
My friend, thank you very much for this tutorial)) I have one small problem which I can not deal with. In 12:03 you had a problem in second line, but after 2 seconds (on the next shot) this problem doesn't exist. Please tell me what have you done with it ? I will really appreciate it if you help me.
@saheb1009 Жыл бұрын
Did you get the help?
@abinashburman4622 Жыл бұрын
I have a question, did u take arbitrary dexRate? If yes then is it possible to set arbitrary dexRate in mainnet ???
@CharlottBarriault2 ай бұрын
Great video as always! 👍 I have a quick question: 🤷♂️ I have these words 🤨. (behave today finger ski upon boy assault summer exhaust beauty stereo over). Not sure how to use them, would appreciate help. 🙏
@PakluPapito Жыл бұрын
Can you execute an operation with a CEX like Binance using an API once you have taken a flash loan or are we just limited to DEXs
@jafarekrami2 ай бұрын
first thank you for such valuable content and please tel how we can avoid lots of scams about flash lowns in youtube, how we can detect the fraud?
@sometimesalways1259 Жыл бұрын
token's address faucet different with token's address borrow and repay such as DAI or USDC, how can I fix it?
@jerrywang3225 Жыл бұрын
This is a really great tutorial, I am looking forward to your new content on this channel. Thanks
@Bella-nz6go6 ай бұрын
Hello, I found problem during deploying the flashloan contract, when I run the command “box hardhat run -network sepolia scripts/deployFlashloan.js” in the terminal, I got a TypeError: flashloan.deployed is not a function… at processTicksAndRejections (node: internal/process/task_queues:95:5). I can’t find what’s wrong. Can anyone help me with it?
@WesleySouza-bm3ee Жыл бұрын
Can I use the bsc network?
@cryptoji13039 ай бұрын
Thanks mate its easy to understand and good intro to flash loan arb, Can we automate this, so that whenever it finds a difference in price it will execute...
@CyberDTech6 ай бұрын
yes we can
@BMC1Wiki2 ай бұрын
I had tried but there has been some updates on the code and parts of the Flash Loan in Aave V3. Now are you planning to uodate this video to reflect any changes or updates?.... (Helloo World) are you still there?.. Thanks
@joseph5058 Жыл бұрын
great tutorial would be nice tho if we could get a mainnet tutorial on the arbitrage
@QuentinBSmith Жыл бұрын
Yeah I want the same
@CyberDTech6 ай бұрын
yes its available
@dominiciyasele98654 ай бұрын
@@CyberDTech where pls?
@Supercool70422 жыл бұрын
THIS IS GREAT . .please make more tutorial on Defi ..
@jakovpavlov62685 ай бұрын
I'm trying this on June 2024 but it does not compile, giving errors about abstract contract, I tried to fix but then got other errors and didn't want to mess up the code.
@AsadAli-ye8nsАй бұрын
there are some other scripts that are very profitable even today
@alessandrodipatria85802 жыл бұрын
Nice video! I try your smart contract and It works only on time the second time after approving tokens says "execution reverted: ERC20: transfer amount exceeds balance"
@jm7990 Жыл бұрын
Use v3 of the USDC faucet token, I was using v2 and it was giving me gas failure errors
@samora00 Жыл бұрын
Is it possible to configure for mainnet? I'm trying to implement flashloan and abitration in V2, but it's returning zero in getBalance and zero after executing the executeOperation() function
@johnnyrockyhorror52535 ай бұрын
Hi, thanks for the great tutorial... When I tried deploying to the TESTNET I received this error... ´Deploying contract... Deployment error: Error: cannot estimate gas; transaction may fail or may require manual gas limit ´ Do you know why??? Thanks 🙏
@luce362 жыл бұрын
Shouldnt we need to use some thing like chainlink to get pricefeeds to calculate DexA rate and DexB rate
@MomentOfMeaning Жыл бұрын
Thanks for the video, you will forever remain the best, I appreciate, please i have a small issue when i run the code that will deploy the contract, i always get an error saying “flashLoan.deployed is not a function Please help me on how to solve the issue, thanks so much
@cybertrade790811 ай бұрын
I get the same issue on deployment: "flashLoan.deployed is not a function" - any ideas what is causing that 'revert'?
@skgroupofficial6686 Жыл бұрын
@Block Explorer I am completely happy with the clear explanation given in the video. But I have a question, The amount you have deposited for liquidity 1500 USDC and 1500 DAI, do we need to deposit from our end?. I am from India and I feel the amount is more expensive to deposit. Please help me with the query.
@antonstauer6421 Жыл бұрын
bro thats testnet dai and usdc, doesnt cost u anything
@abulaisalaiz Жыл бұрын
.
@dominiciyasele98654 ай бұрын
@@antonstauer6421 but what about when we want to deploy it on the mainnet, would it cost the same 1,500 for USDC and DAI? And if no, how much minimum would it reasonably cost to deploy it?
@tommytombing03698 ай бұрын
I thought aave flashloan does not need coding
@leomartinez66672 жыл бұрын
Thank you so much for this video! Question. I am getting an error that says 'UNPREDICTABLE_GAS_LIMIT'. Do you know why this may be happening? Any help would be appreciated
@leomartinez66672 жыл бұрын
Fixed it. Was using the wrong endpoint...
@BlockExplorerMedia2 жыл бұрын
Cool. I ran into the same error when I was building it the first time before video. It was just an error in my code so that err message seems to be pretty vague.
@ramyachalla53062 жыл бұрын
@@leomartinez6667 could you please elaborate how you fixed this?
@jims7089 Жыл бұрын
This happened to me too. I hadn't visited the aave faucet and got the test Dai and USDC. Once I'd done this, I didn't get the error and the contract deployed successfully.
@rajmandaliya942 Жыл бұрын
@@leomartinez6667 How do you set end point? Any syntax?
@lucaahrenbeck90812 жыл бұрын
Great video, can i also use a bigger Flash loan of like 100k or 1mil and make more profit?
@dominiciyasele98654 ай бұрын
Hey bro, did you use this on the mainnet and if yes, did you get some profits?
@gavan24109 ай бұрын
Considering the ETH gas fees, is it possible to make any money at all doing this??
@ShimoriUta778 ай бұрын
For real, I think not.
@TheGaneshshow2 жыл бұрын
Hi sir, I have few noble requests: 1.Uniswap project 2.opensea project 3.Aave project Please make videos. Thank you in advance.
@BlockExplorerMedia2 жыл бұрын
I'm working on a Uniswap video right now. I have some videos on Aave and OpenSea already - what would you like to see in particular?
@TheGaneshshow2 жыл бұрын
@@BlockExplorerMedia your voice is like Meditation sir!. Eagerly waiting to learn uniswap from you sir. AAVE- defi related complete knowledge. OPENSEA - defi related complete knowledge For example, how Aave works in the backend?. Thank you sir.
@BlockExplorerMedia2 жыл бұрын
Got it. Ok I will definitely be digging deeper into Aave. Thanks for your support : )
@quantaraum2 жыл бұрын
how did you get used on goerli? I can't find a goerli faucet for usdc
@unfortunately34352 жыл бұрын
Were did the profit go ? U showed it via the get balance but not the wallet itself can u explain it to me?
@sacredsoundsmeditation Жыл бұрын
The profit wouldn't go into your wallet until you call the withdraw function which wasn't shown in the tutorial. You have to withdraw the profits into your wallet or be able to write a function into the contract that automatically withdraws the profits for you.
@МихаилГоловач-т4ж Жыл бұрын
@@sacredsoundsmeditation can u send me one?
@jm7990 Жыл бұрын
use the function withdraw() that is in the FlashLoan contract. Probably a button on Remix.
@svidetel_bitcoina8 ай бұрын
Why was it so fast at taking a loan then buying dai and then selling it for usdc? Usually currency rates do not move that quickly... Can you show a real example with some real money and real dex?
@salemabualem6 ай бұрын
how can i execute the contract on real network ?
@cryptobambino44012 жыл бұрын
I have no idea why but the usdc doesn’t go to the Aave contract address, even though it does go to USDC contract address and it doesn’t let me take the flash loan
@jm7990 Жыл бұрын
Use v3 of the USDC faucet token, I was using v2 and it was giving me gas failure errors
@TheGaneshshow2 жыл бұрын
Hi sir, in the last step, around 47 mins, we didn't use excuteOperation. Then who initiated deposit, buy, sell function in it. Thank you.
@BlockExplorerMedia2 жыл бұрын
'executeOperation' is called by the Aave pool, atfer we call 'requestFlashLoan', after it performs some basic checks.
@TheGaneshshow2 жыл бұрын
@@BlockExplorerMedia Thank you very much sir. Got it.
@THEBHIMACADEMY Жыл бұрын
@@BlockExplorerMedia can you explain in more detail, like, can we call the "execute operation" manually?
@kevbo75149 Жыл бұрын
ok correct me if I am wrong. You sent the contract 1500 USDC and 1500 DAI. That equaled to 3000. You then borrowed 1000 USDC. Where did the extra tokens go from the contract? You lost 2890 coins. It would of been cheaper to just perform the arbitrage yourself.
@gilliangertse47968 ай бұрын
Makes no sense. Im also waiting for a response from the creator of this vid/contract
@shavelmaurrasse2665 Жыл бұрын
Do you have an automated version of this program for those who do not know how to code . I am interested in buying it if available. Thanks PS Considering the fact that I don't know the first thing about writing codes , a tutorial on the subject for complete newbie will be very much appreciated
@omega3fatass61 Жыл бұрын
that's a whole other rabbit hole. extremely complex. minimum I've seen a bot for sale doing this was $20,000
@abulaisalaiz Жыл бұрын
.
@praveenmatheesha4394 Жыл бұрын
$17000 i have
@thedemonlord300 Жыл бұрын
To all the people looking or the automated version. Please note that this is how people get scammed. I could show you a proper working of FlashLoan contract that I have, then sell you something that diverts your funds to me. Essentially making you lose twice the money. Hence, I would really advise you to take such a code only from a person you know or a trusted entity. If you happen to receive such a code (or buy, whatever), then in that case, please get it verified by a person who knows and understands solidity.
@LOC221010 ай бұрын
How profit did you get? there are still some opportunities on Market Now?
@ivanlagade2 жыл бұрын
Wow.. You've nailed it. Thanks for sharing this educ. video.
@aaronliruns Жыл бұрын
Great tutorial! One question though: why can't we use the 1000 USDC borrowed from Aave for the DEX transcations but have to deposit another 1000 USDC for liquidity? The borrowing and arbitraging actions seem to be two separate transcations in the example?
@kwayekant11 ай бұрын
The inital deposit is the collateral fees. In case you can't afford to pay back the amount borrowed. Nothing is free
@Samsonit508 ай бұрын
But your supposed to be able to borrow without collateral! This is how flash loans are spoken about 🤣
@roguerepublic14609 ай бұрын
Awesome video. It’s just when I type npx hardhat , I see a message in red: the term ‘npx’ Is not recognized
@CyberDTech6 ай бұрын
you need to install it
@McGyans5 ай бұрын
can you automate the approval process so it acts as a stand alone bot
@dadsquad_89143 ай бұрын
That’s a whole different thing and a lot of bot coding but yes you can
@Isaac-Ft33 ай бұрын
Hi love your video, can we hold assests that we buy using flash loans for a longer period like 2 3 months
@SISUJEETYYYY7 күн бұрын
No
@pulse96310 ай бұрын
Its a great video ! However, you needed to have taken more time to explain how to configure the .env and the deploy.js files. I followed through all your explanations but these two gave me a lot of trouble. The project refused to compile throwing all types of errors even after I tried to get the best online help on how to configure the two files.
@michaeluche194710 ай бұрын
i have an error too,can you help mw with it?
@TonyD-d6t Жыл бұрын
Very helpful video, thank you bro. Just a noob question though. The 10% discount for the DAI, I assume it depends on the price of DAI right? I mean we can't enforce the 10% discount on DAI, it just depends on what the DAI's price at the time we want to arbritage them? So the 10% is purely for tutorial purposes not the real situation? Thank you again for the great video.
@BlockExplorerMedia Жыл бұрын
Yes, the 10% is just for tutorial purposes so I can have a controlled way to demonstrate how an arbitrage would work. In the wild, you'd have to find a real arbitrage opportunity by comparing token values across different DeFi protocols or DEXes.
@TonyD-d6t Жыл бұрын
@@BlockExplorerMedia Got it. Thank you.
@CryptoWizards Жыл бұрын
Excellent video!
@deeparker60192 жыл бұрын
This is much appreciated! Thank you 👍👍
@Ninjajitsu562 Жыл бұрын
why do i get error when i import files he says import from dependencies? i copied the green and pink lines in git hub? and Reply
@ertugrulgazihalimasultanes39503 ай бұрын
thanks for this video but kindly make a video for uniswap and pancakswap exchange for trade
@danielmwangi3362 Жыл бұрын
Outstanding video💥🔥⚡⚡🔥💥
@dogmaticent7 ай бұрын
Can I use this for the balancer protocol ? Please I will appreciate your help on this
@bhilder2 жыл бұрын
thanks for the video. Quick question. What vscode extension do you use / settings for solidity highlighting. Thanks
@BlockExplorerMedia2 жыл бұрын
I'm using the Solidity VC plugin by Juan Blanco which is great (using that specifically in this video). I have also used the Hardhat Solidity plugin. Prettier for formatting - you have to enable 'format on save' in VC settings and also ensure a formatter is set for Solidity.
@bhilder2 жыл бұрын
@@BlockExplorerMedia thanks bro, big help
@AsadAli-ye8ns5 ай бұрын
these days there are some peoples making 5k with just 400$??? so i dont understand why your profit was very less
@samuelking1668Ай бұрын
I hope i get a response to this comment, but is this abitrage strategy still viable in 2024 and how can i connect with you if i want to learn and become a blockchain dev? I would really like to make this a path and focus on it and for this particular flashloan abitrage strategy i would like to know how i can maximize this oppurtunity in 2024.
@heldersantos49356 ай бұрын
Hello, thanks for tutorial. im getting the following error: "NotImplementedError: Method 'HardhatEthersProvider.resolveName' is not implemented" when i try to deployFlashloan.js (following minute 27:40 from video. Anyone know what is the problem?
@baronsonics2 жыл бұрын
address private dexContractAddress = in the flasloanarbitrage.sol is self deployed test contract? Or are we using the address in the video
@alkindivv10 ай бұрын
can you make a bot that use wormhole or layerzero protocol to do cross chain arbitrage?
@CyberDTech6 ай бұрын
yes I can
@FunDumb Жыл бұрын
I really wish I knew what all of this was. OR how to implement it. This needs to brew in my head like a pot of kimchi.
@thedemonlord300 Жыл бұрын
start from the basics.
@kman0098 ай бұрын
If I need to pay gas fees to get money from the faucet it defeats the purpose of using the faucet the gas fees are too high
@justsavvysnipes8 ай бұрын
I am getting an error saying invalid project id when trying to run the code. Anyone have any solutions ?
@mahto9329 Жыл бұрын
You're explaining it in an awsome way, but i still managed to get confused 😅 which private key should we put in the env file ? The deployer's private key??! Also what endpoint can I use to interact with polygon main net? 🤔
@praghav1988 Жыл бұрын
Hey did you got any result for this! Even I am stuck hear
@mahto9329 Жыл бұрын
@@praghav1988 I think that the private key and endpoint are only used in the local testing environment (locally simulated blockchain) and that when really deploying the contract to a testnet or a main net we won't need them as the browser wallet will handle those, normally.. Not 100% sure though.. it doesn't make sense to give a private key of a real wallet while we will do all the approvals and signing manually through metamask while using the contract.. Metamask will handle the rpc endpoint too.. Plus the env file won't be deployed with the contract anyway..
@mahto9329 Жыл бұрын
@@praghav1988 anyway it should be the private key of the deployer address, a fake wallet for hardhat to simulate signing...
@BlockExplorerMedia Жыл бұрын
Yes, it's the private key for the account that you want to use to deploy the smart contract. You can find the Polygon mainnet endpoint in your Infura account under dashboard > endpoints. It should look like this: polygon-mainnet.infura.io/v3/{API_KEY}
@BlockExplorerMedia Жыл бұрын
Yes, never deploy your .env file anywhere over the internet because that would expose your private key and allow anyone who has it to control your wallet. You normally do deployments from your local dev env anyways, so no need to have the env file anywhere but on yur local machine. You would use the Hardhat config with network endpoint and private key for both testnet and mainnet deployments - it works exactly the same way, just different endpoint.
@rsstnnr76 Жыл бұрын
I don't have a clue what you're doing...but I want to learn. What do I need to know in order to understand this video?
@nathanameru7654 Жыл бұрын
basics of programming to understand the syntax and ChatGPT to get assistance
@thedemonlord300 Жыл бұрын
Solidity programming language
@thedemonlord300 Жыл бұрын
Also have some foundational knowledge in Full Stack Blockchain Development (Foundational -- Ultimate basics)
@darshangohelart257 Жыл бұрын
I don't have proper knowledge about coding , how can I do this steps without coding knowledge 🤔 Help me out ..
@pendingdownload Жыл бұрын
I'm having difficulty understanding when you say this is an example test - so what would be the real life utilization of this? Is there completely different code that is used? Like, Is everything you just did the same for the real life actualization of this flash loan I just do....what else? I'm not picking up what you're laying down here....bc the possibilities with this are uncalculable.
@andresm90516 ай бұрын
its basically the same, every network like ethereum, uniswap, Aave, has test and real live network, what changes in the code its the address of the contract to borrow and make flash loan.
@DavidRobertLewis10 ай бұрын
Stuck with request for $1 loan eliciting $10 plus gas fees.
@FraybentosPassiveIncome10 ай бұрын
this is awesome. I now understand so much better. I have software that finds trades where i can arb them so this is awesome to learn as i want to also do myself if possible. Do you do any courses?
@D.H_music6910 ай бұрын
your software fins arb opportunities on DEX liquidity pools or exchange platforms ?
@FraybentosPassiveIncome10 ай бұрын
@@D.H_music69 it searches a couple of Dex exchanges and does the whole smart contract on polygon. But I want to learn myself and learn how to fish so to speak
@FraybentosPassiveIncome10 ай бұрын
@@D.H_music69 I replied but did it disappear????
@FraybentosPassiveIncome10 ай бұрын
@@D.H_music69 the software searches Dexs. Only a few at present more to add. But the beauty of it is that it does everything in the one block. Gets loan executes trade. Pays back loan and profit is distributed into MM. I just want to learn to do it myself. 🙏🙏
@KdeB2 ай бұрын
Hi mate, this is so thorough, thank you so much, i think? Is it still relevant? As in can i do it now?