Flashloan Tutorial - Create a basic flashloan smart contract

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 มิ.ย. 2024
  • Discord - / discord
    Twitter - / web3club
    REGISTER FOR ETHINDIA HACKATHON ASAP - nsb.dev/ethindia-web3
    Code - gist.github.com/shobhitic/8c0...
    Aave docs - docs.aave.com/developers/guid...
    Aave addresses - docs.aave.com/developers/depl...
    00:00 Intro
    00:38 ETHIndia Hackathon
    01:18 Intro part 2
    01:57 Overview and flow of flashloans
    04:33 Explaining the flashloan smart contract
    10:49 Compiliing and deploying to forked chain
    15:56 Filling smart contract with some DAI for paying flashloan fees
    23:14 Testing the flashloan smart contract
    24:53 Outro
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 28

  • @bossgd100
    @bossgd100 ปีที่แล้ว +2

    Thank you for the clarity of your video

  • @pulsechainalltheway1845
    @pulsechainalltheway1845 12 วันที่ผ่านมา

    Great video, thank you.

  • @toon_gnarizard
    @toon_gnarizard ปีที่แล้ว

    awesome shirt!

  • @luce36
    @luce36 ปีที่แล้ว

    20:50 I think you have to pass a signer to getcontractAt ("abi" , "address" ,"signer")

  • @hosseinbeyzaei4054
    @hosseinbeyzaei4054 10 หลายเดือนก่อน

    Hello, what is the name of this software you are using?

  • @adastra3591
    @adastra3591 15 วันที่ผ่านมา

    Thanks, very valuable.

  • @rockysin5932
    @rockysin5932 ปีที่แล้ว

    thanks but can you put a littlebit security touch in your videos

  • @uaibookvideos6408
    @uaibookvideos6408 ปีที่แล้ว +2

    Parabéns pela explicação
    Eu gostei Muito
    Com esse sistema é possível ganhar dinheiro ?

  • @cryptoricanqueen
    @cryptoricanqueen ปีที่แล้ว

    Can this be easier? Trying to do a flash loan .

  • @nitishjoshi3
    @nitishjoshi3 ปีที่แล้ว

    How the recovery of flash loan will be done using smart contract ?

    • @Web3_Club
      @Web3_Club  ปีที่แล้ว +1

      if you don't return it in the same transaction, the transaction will fail

  • @anyasikem8834
    @anyasikem8834 ปีที่แล้ว

    hello bro i cant relly install hardhat and after the arbitrage how do i import the token to metamask

    • @LearnCrypto101
      @LearnCrypto101 ปีที่แล้ว

      We are offering free tutorials on flashloans if your interested

  • @ethankg9094
    @ethankg9094 ปีที่แล้ว

    Can you please make a video on how to create a ERC20 token with reflections? It would be much appreciated!

    • @LearnCrypto101
      @LearnCrypto101 ปีที่แล้ว

      We are offering free tutorials on flashloans if your interested

  • @kamalagarwal8328
    @kamalagarwal8328 ปีที่แล้ว

    So what you are suggesting is we can transfer tokens from someone random wallet and then take a flash loan with those tokens and make tonnes of money provided we find that one arbitrage opportunity..( arbitrage opportunity being the keyword here )
    Here u took Dai as example..is it possible to take eth from another user in the same way

    • @Web3_Club
      @Web3_Club  ปีที่แล้ว +1

      No, taking from someone else only works on forked, local copy

    • @kamalagarwal8328
      @kamalagarwal8328 ปีที่แล้ว

      Then what is the point if there is no practical use case..also I thank u for all your videos..not trolling or being offensive here..just want to understand the topic

    • @Web3_Club
      @Web3_Club  ปีที่แล้ว +2

      I just did that so I'd have enough to pay off the fees for flashloan. In real life, you will make a profit and use that to pay off fees, so you don't need the token unlock

    • @kamalagarwal8328
      @kamalagarwal8328 ปีที่แล้ว

      So I can make a flashloan transaction with zero balance because I can pay the fees from my profit..but don’t we need gas fees to initiate a transaction

    • @Web3_Club
      @Web3_Club  ปีที่แล้ว +2

      Yes. You will need gas, but I already had it, so didn't ask for it

  • @juliopatricio00
    @juliopatricio00 2 หลายเดือนก่อน

    can help me please, i need !

  • @Philson
    @Philson ปีที่แล้ว +1

    Loooool. So much hacking.

  • @dhruba5
    @dhruba5 ปีที่แล้ว

    Kindly pump BNSD 6 $ run over boundary now like WRX if you can instead of lecture. BNSD is a WEB3 token.

  • @DeFiDawg
    @DeFiDawg 8 หลายเดือนก่อน

    Thank you for providing this information! Very rare to find info on flashloans. What’s your email address?