Quoter vs Quoter2 | Get Swap Quote with Code | Uniswap V3 | EthersJS

  Рет қаралды 4,194

Blockman Codes

Blockman Codes

Күн бұрын

Пікірлер: 23
@blockmancodes
@blockmancodes Жыл бұрын
Learn to use all of Uniswap's swap and liquidity functionality with code. bit.ly/3JkXYqL
@luislozada8106
@luislozada8106 9 ай бұрын
Thank you man! I have spent many hours with the QuoterV2 thinking you could call it like the V1. Thanks a bunch!!
@franklee2924
@franklee2924 Жыл бұрын
What is the "callStatic" function in golang?
@PooyaTaad
@PooyaTaad Жыл бұрын
thanks for your videos, i have tow question , Why is the price always different in the code with half a percent compared to the price on the website, and it does not update in seconds? Is there a way to update the price every second and make it consistent with the website?
@vilanovaalejandro500
@vilanovaalejandro500 Жыл бұрын
Thanks for the great vids! You make it easier to understand the complicated code for beginners like me.
@blockmancodes
@blockmancodes Жыл бұрын
I appreciate you watching!
@cosmicknox
@cosmicknox Жыл бұрын
thanks a lot mate once again . So tired of working with 3rd party api this is the best solution for long term solutions
@blockmancodes
@blockmancodes Жыл бұрын
Glad it helped!
@luckyrobertho2802
@luckyrobertho2802 Жыл бұрын
Thanks! Your video always amazed me! Maybe next, can you create a video that show and explain "how to build crypto payment gateaway with custom erc20 token"? Like binance pay? It would be super awesome in my opinion. Thank you
@RootCSGO
@RootCSGO Жыл бұрын
Hello Blockman, the script returns different values depending on the fee value selected. However, in the uniswap web page when you enter an input amount you get the best possible output with the corresponding fee value automatically selected. How can I obtain the exact same output that Uniswap website gives me?
@blockmancodes
@blockmancodes Жыл бұрын
Every fee is a different pool so that's expected. The uniswap interface finds the optimal route. This can be through many pools. Use the auto router for that.
@bejojeffrin7033
@bejojeffrin7033 Жыл бұрын
Hi , This example is working fine for WETH USDC but it is throwing error for other pairs eg: USDC ,LINK ,fee:3000 its throwing error
@bejojeffrin7033
@bejojeffrin7033 Жыл бұрын
ignore ..i was in different chain
@blockmancodes
@blockmancodes Жыл бұрын
Glad you figured it out!
@jerrywang3225
@jerrywang3225 Жыл бұрын
Great tutorial
@blockmancodes
@blockmancodes Жыл бұрын
Glad it's helpful!
@panchopacheco1247
@panchopacheco1247 Жыл бұрын
Another great tutorial. I had success using different 18 decimal tokens for tokenIn, but when I tried WBTC, it quoted a price close to 700,000! Is there something I should do differently for that token? Thanks
@blockmancodes
@blockmancodes Жыл бұрын
Yes. You need to adjust for the decimals on the tokens you're using. Most ERC20 tokens have 18 decimals, but WBTC has 8
Get Price from Tick for Uniswap V3 Pool | JavaScript Coding Tutorial
15:59
-5+3은 뭔가요? 📚 #shorts
0:19
5 분 Tricks
Рет қаралды 13 МЛН
Andro, ELMAN, TONI, MONA - Зари (Official Audio)
2:53
RAAVA MUSIC
Рет қаралды 8 МЛН
Every team from the Bracket Buster! Who ya got? 😏
0:53
FailArmy Shorts
Рет қаралды 13 МЛН
Learn React Hooks: useActionState - Simply Explained!
15:54
Cosden Solutions
Рет қаралды 2 М.
Uniswap V3 Arbitrage
19:19
Smart Contract Programmer
Рет қаралды 8 М.
Uniswap V3 Explained - Concentrated Liquidity, NFT LP Tokens, Licensing…
11:44
Uniswap and Sushiswap Arbitrage Code | Uniswap V2 | EthersJS | DeFi
10:17
How to Swap on Raydium DEX Using TypeScript
18:36
QuickNode
Рет қаралды 6 М.
Build a WEB3 app to mint unlimited NFTs… But should you?
23:25
Uniswap V3 - Single Hop Swap | DeFi
18:22
Smart Contract Programmer
Рет қаралды 10 М.