Get a Uniswap V3 Pool Address for a Testnet (Ropsten, Kovan, Rinkeby...) | Coding Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ก.ย. 2024
  • Get my free EthersJS cheatsheet to master Web3!
    👉 blockman-codes...
    ------------------------------------------
    Courses:
    👉 Build a Uniswap V3 interface that can do swaps: bit.ly/3JkXYqL
    ------------------------------------------
    How do you find the pool for a Uniswap testnet pool address?
    It's not as straightforward as you would think.
    I'm going to explain some of the problems I had in finding one, and then I'll share a solution.
    If you found this video helpful, give it a like and subscribe!
    ------------------------------------------------------------------------------------------------
    Github code: gist.github.co...

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

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

    Learn to use all of Uniswap's swap and liquidity functionality with code. bit.ly/3JkXYqL

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

    Hey super instructive ! I was looking to do something like this. THX

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

    you are the Superman! Thanks

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

    Thank you for the gr8 video, i am assuming the alternative is to simply goto contract tab of etherscan, and execute the getPool manuall by passing these 3 parameters, right?
    Also, why does read function like "Get Pool" is getting captured in trnsaction tab of contract in etherscan along with txn fees? i thought read function doesn't require any txn fees, even in your code, u didn't pass the txn fees. It is also free when executed manually.

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

    Good content man,any idea how can I add uniswap v3 to my solidity arbitrage contracts?Thanks

    • @blockmancodes
      @blockmancodes  2 ปีที่แล้ว

      It depends how your doing the arbitrage.
      I just made a video on programmatically swapping tokens on Uniswap V3, th-cam.com/video/vXu5GeLP6A8/w-d-xo.html
      Otherwise, give me some more details and I can try to help.

  • @alexeyn2793
    @alexeyn2793 2 ปีที่แล้ว

    Hi! The best Uniswap lessons! One question: Uniswap V2 has a separate Factory contract ids for testnets, but here for V3 you are using the mainnet factory id with ropsten tokens ids and it works) It is confusing for me. Do I need to find the V3 factory id for ropsten or for mainnet will be fine? Thank you!

    • @blockmancodes
      @blockmancodes  2 ปีที่แล้ว

      V3 is great because testnet and mainnet have the same addresses for contracts.
      And glad I can help!

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

    Amazing

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

    How can I select testnest to connect my wallet for the testnest?

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

      Change your metamask to the testnet, then go to the Uniswap app

  • @hamzazahir1480
    @hamzazahir1480 2 ปีที่แล้ว

    pleas how can i get all liquiditys of user address

    • @blockmancodes
      @blockmancodes  2 ปีที่แล้ว

      I'll be releasing a video very soon on this!

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

    I'm getting this error cannot find module
    Plz tell me

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

      Can you copy/paste the full error here?