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...
Learn to use all of Uniswap's swap and liquidity functionality with code. bit.ly/3JkXYqL
Hey super instructive ! I was looking to do something like this. THX
Glad to hear it!
you are the Superman! Thanks
Glad it helped
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.
Good content man,any idea how can I add uniswap v3 to my solidity arbitrage contracts?Thanks
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.
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!
V3 is great because testnet and mainnet have the same addresses for contracts.
And glad I can help!
Amazing
My pleasure!
How can I select testnest to connect my wallet for the testnest?
Change your metamask to the testnet, then go to the Uniswap app
pleas how can i get all liquiditys of user address
I'll be releasing a video very soon on this!
I'm getting this error cannot find module
Plz tell me
Can you copy/paste the full error here?