Borrow Millions In DEFI With NO COLLATERAL? FLASH LOANS Explained (Aave, dYdX)

Поділитися
Вставка
  • Опубліковано 17 чер 2024
  • So what are flash loans all about? And how can they be used to borrow millions of dollars worth of crypto with no collateral? You’ll find answers to these questions in this video.
    A flash loan is a feature that allows you to borrow any available amount of assets from a designated smart contract pool with no collateral. Flash loans are useful building blocks in DeFi as they can be used for things like arbitrage, swapping collateral and self-liquidation.
    Flash loans, although initially introduced by the Marble protocol, were popularised by Aave and dYdX.
    So, what’s the catch?
    A flash loan has to be borrowed and repaid within the same blockchain transaction.
    📖 Post ► finematics.com/flash-loans-ex...
    📖 How to Code a Flash Loan with Aave ► finematics.com/how-to-code-a-...
    📖 How to Use Furucombo ► finematics.com/how-to-use-fur...
    🐦 Follow Finematics on Twitter ► / finematics
    💛 Support Finematics on Patreon and join our Discord community ► / finematics
    🔒 Stay secure with a Ledger hardware wallet (20% off) ► shop.ledger.com/?r=b0b220a75e03 (you can use it with Metamask to interact with DeFi protocols)
    🌐 Get your .crypto Unstoppable Domain ► unstoppabledomains.com/r/8160...

КОМЕНТАРІ • 286

  • @Finematics
    @Finematics  3 роки тому +26

    ❓What do you think about flash loans? Are they good for the DeFi ecosystem?
    👍Hit the like button if you enjoyed this video
    🐦Follow Finematics on Twitter ► twitter.com/finematics
    💛Support Finematics on Patreon and join our Discord community ► www.patreon.com/finematics

    • @chillrain351
      @chillrain351 3 роки тому +3

      Thank you, wonderful help.😁

    • @beyonderssupreme
      @beyonderssupreme 3 роки тому

      Please read my suggetion comment below

    • @cicher
      @cicher 3 роки тому +2

      Excellent video! 👏👏
      But, *there is an ERROR* 📛: the 0.09% of $100,000 is $90 (not $900), then the loan repay is $100,090 and the profit is *$920* 🤑

    • @ToY9CiTo
      @ToY9CiTo 3 роки тому

      He's a Genius! 🧠

    • @fakaraka9947
      @fakaraka9947 2 роки тому

      Hi all, my name is Farah. Currently my son is having problems with a tumor in his head and it could possibly life threatening. I hope someone can help by donating or share this message to others. Estimated cost of the surgery is around 20,000 usd and i needed another 12,000 usd. I'm really thankful if someone can help me.
      Since we're from different countries around the world, crypto really useful. My husband died last year due to covid-19.
      Please... If you can't give much, even a little is enough for me.. I just don't want to lost anyone anymore..
      Farah,
      Metamask id,
      0x603a656bc46d4716E5e0A1a16a839ADAf2fA3739

  • @KaiserKnight-bv3ru
    @KaiserKnight-bv3ru 3 роки тому +143

    This is the first video that explains flash loan so clear and understandable. Your work deserve my highest respect.

    • @Finematics
      @Finematics  3 роки тому +4

      Thank you! :)

    • @christopherozarks6285
      @christopherozarks6285 3 роки тому +1

      These are advanced trading techniques and use cases. If you were able to comprehend all that and figure a way to use it you should be proud of yourself. I would say less than 10% of all traders even know about techniques like that - and only about 2% use them!!

    • @user-bm5tw5pb1z
      @user-bm5tw5pb1z Рік тому

      …..

  • @shreyashandiyekar7135
    @shreyashandiyekar7135 3 роки тому +16

    Thanks for keeping me updated with all this new stuff.

  • @samuelaavila8285
    @samuelaavila8285 2 роки тому

    Sometimes when I watch your videos I still don't understand quite everything due to the sheer amount of detail of your content and me being pretty new to defi. However, for many of your videos with time in the crypto market I can come back to them and they make complete sense. Thank you for the educational content, it's very good.

  • @mrmatz408
    @mrmatz408 3 роки тому +62

    Seriously amazing videos! I think you are the only one explaining things with the amount of detail that I can understand.

    • @TjSpoonManJacques
      @TjSpoonManJacques 3 роки тому +2

      I had six questions on my notepad prior to this video and all six were answered. Freaking amazing! The thorough explanation of anything presented on UA-cam! For real for real because I was confused AF 🤣

    • @mundoalonso-cuevillas6712
      @mundoalonso-cuevillas6712 3 роки тому +1

      100% agree! I’m an engineer (not a very good one though), and this is the first time I truly understand a DeFi operation.

    • @TjSpoonManJacques
      @TjSpoonManJacques 3 роки тому

      @@mundoalonso-cuevillas6712 be on the lookout for the gas prices which are making flash loans extremely difficult. Ended a profit I haven't landed a profitable flashlight in over a month 😔

  • @LookMomNoHands22
    @LookMomNoHands22 3 роки тому +12

    Please never stop making videos. You and the team are absolutely amazing. Thank you for making the educational journey of DeFi so enjoyable. Once we moon, I’ve got you on some cool project tokens. Promise.

  • @ameen2428
    @ameen2428 3 роки тому +18

    Highly informative. Thank you, keep on doing this.
    Love♥️

  • @goldenboatcaptain
    @goldenboatcaptain 3 роки тому +24

    This channel is going to explode with this bullrun. One of the best crypto channels on YT. Keep it up, man. Love your work.

    • @Finematics
      @Finematics  3 роки тому +1

      Thanks! Appreciate that :)

    • @ksiadzgrzesiu69
      @ksiadzgrzesiu69 3 роки тому +1

      Are you kidding? No one is doing research 😂

    • @nonenone4461
      @nonenone4461 2 роки тому

      Notice that all Cryptos crashed over the 8 months this was posted.

  • @bobperson1173
    @bobperson1173 2 роки тому

    So clear, concise, and great examples!

  • @vanillakush4737
    @vanillakush4737 2 роки тому +1

    U made me even more in love with defi and is system. Great content,thanks !

  • @banzobeans
    @banzobeans 3 роки тому +2

    Top notch video as usual!!! Thx

  • @jeremygonzalez4501
    @jeremygonzalez4501 2 роки тому

    Fascinating. So many things clicked and thoroughly explained. Thank you!

  • @simonhansen8205
    @simonhansen8205 Рік тому

    This is extremely clear. I now understand. Thank you very much.

  • @tjc9995
    @tjc9995 2 роки тому +12

    This is such an awesome channel. Great videos and clear explanations. One question: how are you producing and recording these whiteboards?

  • @samooxa
    @samooxa 3 роки тому +8

    You deserve all the praise man, your channel will moon soon. Congrats & Thank you.

  • @WiLDeveD
    @WiLDeveD 2 роки тому +1

    This is the best and detailed Explanation of Flash loans i've ever saw. Thanks bro and God Bless.

  • @warrenwaugh6034
    @warrenwaugh6034 3 роки тому +2

    I like the fact that anyone can take advantage of this. Well explained good video. My minds blown away.

  • @marcusaurelieus9055
    @marcusaurelieus9055 3 роки тому +3

    Great video man !
    Really enjoyed it and felt like I fully understood flashloans for the 1st time despite reading in so many places.
    I think your channel will 100% grow man , keep hustling !

    • @Finematics
      @Finematics  3 роки тому

      Thanks!! Great to hear the video was helpful :)

  • @nachobeats4733
    @nachobeats4733 3 роки тому +1

    Love your vids mate. I would really like to know your opinion on deflationary farming. Keep teaching us about DeFi

  • @resulfuruncu1952
    @resulfuruncu1952 3 роки тому +8

    Kind of feel dumb that i still don’t understand the way a flash loan works, even after this guys video lol

  • @muhammadkashif2944
    @muhammadkashif2944 3 роки тому +2

    Finally , someone with a great knowledge . Respect for you !!

  • @castro420
    @castro420 3 роки тому +4

    I love your videos, DeFi is a confusing subject this was a very great explanation.

  • @amandac3658
    @amandac3658 3 роки тому +1

    Amazing explanation, thank you

  • @pkqs9065
    @pkqs9065 3 роки тому +2

    This is gold. Very clearly explained, thanks for the video!

  • @nicots
    @nicots 3 роки тому +1

    Excellent explanation. I hope this channel continues to grow!

  • @WibbilyWobblyWonder
    @WibbilyWobblyWonder 2 роки тому

    Thanks for making! Top tier education vids

  • @cryptorajan4701
    @cryptorajan4701 2 роки тому +1

    Nice video!!very informative.

  • @fleuriadon7765
    @fleuriadon7765 2 роки тому

    Awesome ! Thank you so much

  • @jennachang3269
    @jennachang3269 2 роки тому

    Awesome! Thank you :)

  • @sulahmoon558
    @sulahmoon558 3 роки тому +3

    I am learning so much with your videos and of course I am subscribing your channel. Some are still difficult to understand 100 % but your contents are super well explained and not so biased which I like so much. it is truly helpful. Keep it up! and thank you!!!

    • @Finematics
      @Finematics  3 роки тому

      Thanks a lot! Glad to hear the videos are helpful :)

  • @RsAsksWhy
    @RsAsksWhy 3 роки тому +1

    Excellent content and explanation, keep em coming, destroyed the like and subscribe buttons!

  • @udaybabbu13
    @udaybabbu13 3 роки тому +1

    this guy is a Genius ...

  • @vanillasf
    @vanillasf 2 роки тому +1

    Amazing content. Impressive to see how banking today looks like the dinosaur age compared to DeFi...

  • @gl897
    @gl897 11 місяців тому

    You've got a new subscriber since I could never understand how they work p

  • @johnkwok6524
    @johnkwok6524 3 роки тому +2

    This is great as so many of your videos are! Wondering if you could do one that delves into arbitrage? Thank you for all of your work so far!

    • @Finematics
      @Finematics  3 роки тому +1

      Thanks! Yes, I will be delving deeper into multiple topics including arbitrage :)

  • @javierortizmir7873
    @javierortizmir7873 3 роки тому +1

    These explanations are great!!

  • @cyclopa
    @cyclopa 3 роки тому +1

    Amazing clear and detailed video + drawings/animations! 💯
    PS: Are you drawing all this yourself too?😯 On some kind of digital canvas, connected to your pc?

  • @holden2966
    @holden2966 2 роки тому +1

    Briliant! thank you very much

  • @anakinskywalkerrr
    @anakinskywalkerrr 3 роки тому +1

    This is the best video to understanding flash loan

  • @Basil__X
    @Basil__X 3 роки тому +1

    Loved the explanation, thanks!

  • @geneshen6405
    @geneshen6405 3 роки тому +3

    Great video. But for this concept to really take off, there has to be way more streamlining involved.

  • @fullslippery
    @fullslippery 3 роки тому +3

    8:30
    1. "Take a Flashloan in DAI to cover the amount of DAI that was borrowed"
    2. "Repay your Compound loan with borrowed DAI"
    3. "Withdraw your ETH"
    4. "Swap your ETH for BAT on Uniswap"
    5. "Supply BAT as collateral on Compound. Borrow DAI against your BAT collateral"
    6. "Repay Flashloan with borrowed DAI plus fees"
    "Congrats, you just swapped your collateral from ETH to BAT and paid 0.09% of the borrowed amount for this"

  • @katyaolivan6085
    @katyaolivan6085 3 роки тому +1

    Very well explained!!

  • @lioruzan2048
    @lioruzan2048 2 роки тому

    Excellent video

  • @Acilias
    @Acilias 3 роки тому +3

    Great video once again ! Make one on ethereum rollups please (optimistic, zk rollup etc.)

    • @Finematics
      @Finematics  3 роки тому

      Thanks, great suggestion. I have this topic on my list of things to cover :)

  • @cloudshad0ws
    @cloudshad0ws 3 роки тому +9

    Great video... Unfortunately, my experience (messing around with aave at least), gas fees the way they are right now it seems pretty difficult to actually utilize flash loans profitably with one of these legitimate ways...

    • @abc_12333
      @abc_12333 3 роки тому +4

      Try MULTIPLIER (a fork of Aave) on Binance Smart Chain. Gas fees are ONLY 5 Gwei

  • @TjSpoonManJacques
    @TjSpoonManJacques 3 роки тому +5

    DAMMIT THAT WAS AMAZING!!! I HAD SO MANY QUESTIONS PRIOR TO THIS VIDEO! THANK YOU MUCH LOVE FROM NEW ORLEANS ❤️💪

  • @cptn3mo623
    @cptn3mo623 3 роки тому +6

    I think I am speaking for the large majority when I say this - you are an incredible help to Beginners / Intermediates wanting to learn more in the crypto space and we are hugely grateful and thankful! Subscribed and have notifications on, keep it up!

  • @martinwinter4840
    @martinwinter4840 3 роки тому +1

    great vid brotha

  • @agentlier6974
    @agentlier6974 3 роки тому +1

    Woww.. You are good man...

  • @jahmoncrypto2781
    @jahmoncrypto2781 3 роки тому +1

    Very informative!!!

  • @asmitadhungana3790
    @asmitadhungana3790 3 роки тому +2

    Your channel is pure Bitcoin! ;) Keep on delivering the rich contents :D

  • @virayudh
    @virayudh 3 роки тому +1

    Great and interesting video.

  • @robinng5404
    @robinng5404 3 роки тому +1

    Nice info,,and plz put timestamps

  • @marcio7708
    @marcio7708 3 роки тому +1

    You are the best teacher! Thank you!

  • @andreachiesa5563
    @andreachiesa5563 3 роки тому +1

    Super interesting content

  • @TheFluffyFix
    @TheFluffyFix 2 роки тому

    Terra anchor was an amazing idea

  • @mynameiszoro
    @mynameiszoro 3 роки тому +4

    Great video mate! As a viewer I would like to request a video about Mempool bots and front runners. What do you think?

    • @Finematics
      @Finematics  3 роки тому +1

      Thanks! Yes, this is definitely one of the topics to cover in the future :)

    • @mynameiszoro
      @mynameiszoro 3 роки тому

      @@Finematics Also If you can include how to include the transaction without the mempool if you are a miner. That would be great ! Thanks mate

  • @ritikgulabrani9073
    @ritikgulabrani9073 3 роки тому

    We need a video comparison b/w binance smart chain and ethereum !??

  • @oksmith5171
    @oksmith5171 3 роки тому +1

    Great content as usual. Where can we download the drawing boards?

    • @Finematics
      @Finematics  3 роки тому

      Thanks, it's not possible to download the drawing boards, it's a project within the Videoscribe app

  • @theflipside2709
    @theflipside2709 3 роки тому +1

    Nice vid, again! Q - How long can one use the flash loan for before they have to repay?

    • @Finematics
      @Finematics  3 роки тому

      Thanks, you only have 1 transaction time which is the same as 1 block time which is around 10-17 seconds on average

    • @theflipside2709
      @theflipside2709 3 роки тому +1

      @@Finematics Huh? How can one operate that many steps in 10-17 sec's time??

    • @Finematics
      @Finematics  3 роки тому +2

      As mentioned in the video this feature is predominantly used by software developers, so it can be programmed that way. Furucombo also can create a transaction with multiple steps for non-developers

    • @theflipside2709
      @theflipside2709 3 роки тому +1

      @@Finematics Thank you!

  • @videospride8439
    @videospride8439 3 роки тому

    Please make a video teaching how to borrow

  • @ludacris6600
    @ludacris6600 2 роки тому

    But i have seen in other videos that you have to access a site/platform where you ask for the loan, and the interface does all the work you inky have to allow transaction. Where do you browse to?

  • @quinnxy
    @quinnxy 3 роки тому +1

    great content

  • @Mrtranquil01
    @Mrtranquil01 3 роки тому

    In the second usecase, whats the advantage of doing that over just swapping the ETH for BAT on uniswap before getting ?

  • @AbstractAbsorption
    @AbstractAbsorption 2 роки тому

    Hi @Finematics, your "How to code a Flash Loan with AAVE" link takes you to an empty post on the blog. Is there a new one?

  • @iranastarr1598
    @iranastarr1598 Рік тому

    Last one month I trying to get borrow(loan)by Huobi&Definitely through digital assets exchange through.
    And I became tired coz of unknown systems.
    Now I want to listen it again&again to get a loan by FLASH(DEFI)

  • @unknownmatrix8424
    @unknownmatrix8424 3 роки тому +1

    i saw your trademark presentation style in one vid of Bankless. are you one and the same, or just a collaboration? nice informative vids i am not wrong to subscribe. Thank you for spreading the financial education to clueless and newbies in crypto like me.

    • @Finematics
      @Finematics  3 роки тому

      Yes, it was just a collaboration :)

  • @joannechen6850
    @joannechen6850 2 роки тому

    Can you make a video about Margin Trading?

  • @cyclopa
    @cyclopa 3 роки тому +1

    Amazing clear and detailed video + drawings! I will subscribe and follow on Twitter immediately 💯
    PS: Are you drawing all this by yourself too?😯 On some kind of digital canvas, connected to your pc?

    • @Finematics
      @Finematics  3 роки тому +1

      Thank you! I use software for this - it's called Videoscribe

    • @cyclopa
      @cyclopa 3 роки тому

      @@Finematics Interesting, will look it up for sure!

  • @evgeniy_moscow_gooner
    @evgeniy_moscow_gooner 3 роки тому +2

    I don't understand what the point of collateral swap is. You simply swap one crypto for another to borrow DAI while you could borrow it without swapping. UPD It actually appears that you pay a commission and lose your ETH.

    • @tijesuniogunrombi9456
      @tijesuniogunrombi9456 2 роки тому

      Maybe you didn't anticipate a value drop in your initial collateral used?

  • @Rompelarueda
    @Rompelarueda 2 роки тому

    Explain SmartBCH! The EVM sidechain just launched on BCH that scales ethereum. Up to 1 billion gas every 10 seconds, totally decentralized (no own token, no premine etc), backed by PoW (SHA-256)

  • @vicentebenjamin6972
    @vicentebenjamin6972 2 роки тому

    I love this video

  • @aboodabood440
    @aboodabood440 3 роки тому +1

    Great video! But how to bypass the Mempool and the bots all together and include your transaction in a block if you are a miner? is that possible?

    • @Finematics
      @Finematics  3 роки тому +1

      Good question. Yes, I you are a big miner (or if you know one) you could include a transaction in a block that was never in the mempool, basically avoiding the mempool snipping bots

  • @ocupado658
    @ocupado658 3 роки тому +1

    Cool videos mate, not just the content but also the animations you use. However, there's one thing in this one I dont quite understand - how can one ethereum transaction consist of multiple steps? Do I have to be able to code for that? How do I not know this

    • @Finematics
      @Finematics  3 роки тому +1

      yes you can code that, you can write a function that interact with a lot of different protocols within the same Ethereum transaction

    • @ocupado658
      @ocupado658 3 роки тому

      @@Finematics okay. well, guess it's time to get into solidity then. thanks for replying!

  • @shaun9311
    @shaun9311 2 роки тому

    This will be interesting with the EIP-1559

  • @21rejones
    @21rejones 3 роки тому +4

    I'm not sure the maths is right on the arb example. The Aave fee is 0.09%, no? Making the fee on a $100,000 loan $90? This makes the profit $920. Am I crazy?

    • @Finematics
      @Finematics  3 роки тому +2

      Yes, you are correct. I usually double check all the maths, but this one was too simple right? :(
      I made a correction in the subtitles. Thanks for spotting.

    • @arctuuruus
      @arctuuruus 3 роки тому

      So the 90 dollar fee is the gas price of swapping all the different currencies right?

  • @totalstationandautocad2264
    @totalstationandautocad2264 3 роки тому +1

    Nice

  • @mattn_kk
    @mattn_kk 3 роки тому +1

    This is so cool

  • @nikolaoskalivas8308
    @nikolaoskalivas8308 3 роки тому

    Awesomeeee duuudeeeeee

  • @jljl6485
    @jljl6485 2 роки тому +1

    incredible video oO

  • @devsutong
    @devsutong 2 роки тому

    Whats the use of Collateral swap?

  • @infinitynbeyond0786
    @infinitynbeyond0786 3 роки тому

    Hi could you do an illustration explaining COLLATERAL PAY $COLL i think would be an interesting one :)

  • @matiasss550
    @matiasss550 3 роки тому +1

    It was not a hack, no user was compromised neither platforms. User used protocols correctly.

  • @DynamicJon
    @DynamicJon 3 роки тому +5

    Kind of a dumb question but if it requires repayment within the same ETH transaction, how much time do you have to do the repayment, must it be within seconds?

    • @lr_law4940
      @lr_law4940 2 роки тому +1

      About 13-14 seconds if i am not mistaken

    • @atbrightone5724
      @atbrightone5724 2 роки тому +1

      @@lr_law4940 how tf do you payback in 3 secs?

    • @atbrightone5724
      @atbrightone5724 2 роки тому

      13*

    • @lr_law4940
      @lr_law4940 2 роки тому +2

      @@atbrightone5724 you don’t the program do. You manually couldn’t do it. Imagine it like the money you borrow never stops at one place. It just runs a circle. Lender->you->exchange1->exchange2->you->lender. The lender is the start and the finish. Everything in between is just a checkpoint and(if the flash loan is successful) the money picks up a bag(which is your profit) at exchange2 and drops it at you before it arrives to the finish line(lender)

  • @Dannydrinkbottom
    @Dannydrinkbottom 2 роки тому +1

    Love the concept but too much work for me😂

  • @GiorgioTedesco
    @GiorgioTedesco 3 роки тому +1

    I didn't use yet... Because I'm afraid.. but I would like to test... 😉😛

  • @Pritchy__
    @Pritchy__ 2 роки тому +1

    I have a question around this... suppose you take out a flash loan and then use the token to purchase something (let's say some random product that allows for purchase with a token) and then you refuse to pay back the loan. Since you now obtain this new product, how can this transaction be rolled back? Does the transaction when purchasing the product not get verified until you repay the loan?

  • @prackertracker7189
    @prackertracker7189 2 роки тому

    8:25 Why do we neet a flash lone here? coudln't we just repay the debt by our borrowt DAI instead of taking a flash loan, to avoid the first 3 steps?

  • @Nemocuatico
    @Nemocuatico 3 роки тому

    I click the first link it open in the crypto.com but it's nothing there you said i can loan defi coin without colateral?

  • @cutflow2
    @cutflow2 3 роки тому

    Is AAVE the only crypto offering flash loans ?

  • @kalikali2913
    @kalikali2913 3 роки тому +1

    best FLASH LOANS project on uniswap is $IYF

  • @becks0303
    @becks0303 3 роки тому +2

    For the use case on collateral swap - whats the point of doing this 6 step process to swap my ETH to BAT ? If the objective is to just get ETH to BAT, can't I just literally do step 5 (using my ETH and swapping it for BAT at any AMM ? ) to achieve that ? Why do we need all 6 steps ?

    • @Finematics
      @Finematics  3 роки тому

      Because the coins are used as collateral and are locked in the protocol. They cannot be just swapped.

    • @becks0303
      @becks0303 3 роки тому +1

      Thanks. But didnt we already withdraw that collateral from compound in step 3?

  • @catherinedilwyn8345
    @catherinedilwyn8345 3 роки тому +3

    Hey anyone heard of YFBTC & YFETH, they have the same reward system as Bitcoin and Ethereum

    • @hairystyles4212
      @hairystyles4212 3 роки тому

      huh? btc and eth are not the same. You mean proof of work mining with hardware?

  • @iliavko
    @iliavko 2 роки тому

    So does this mean that the smart contract has to detect that the arbitrage opportunity exists in order to lend the funds in first place?.. Because this seems to be a riskless loan and that is impossible. There must be a counterparty risk involved, otherwise the interest received by the lender also makes no sense, why would you get a reward for something that represents no counterparty risk?.. I am a person from traditional finance and this makes no sense to me lol

  • @amitdubey9201
    @amitdubey9201 2 роки тому

    One query is flash loan still supported by aave for arbitrage using a bot

  • @the_guy_with_yeeyee_a_haircut
    @the_guy_with_yeeyee_a_haircut 2 роки тому

    i have a question, could Crypto Flash Loans be used for a pump and dump scheme? for an example ; i get a Crypto Flash Loan for 1.000.000 uniswap from AAVE and take it and sell of it would that cause the price of Uniswap to drop ???

  • @user-nm5tn7td5b
    @user-nm5tn7td5b 2 роки тому

    How I can make sure profits will be more than gas Fees of borrow flash loan

  • @ABCDEFGH-or2eb
    @ABCDEFGH-or2eb 2 роки тому

    I don’t have money to cover the gas fees. Does that mean I can’t get a flash loan?

  • @dawnbass9877
    @dawnbass9877 Рік тому

    I think flashloans are cool I want to use for simple arbitrage I dont want to hurt people It is a way for a regular person to jump start a good life