Multihop Swaps with Uniswap V3 & JavaScript | Uniswap V3 Swap Router & EthersJS | DeFi
Blockman Codes Blockman Codes
7.16K subscribers
3,210 views
72

 Published On Oct 19, 2022

Get my free EthersJS cheatsheet to master Web3!
👉 https://blockman-codes.ck.page/91b29a...
------------------------------------------
Courses:
👉 Build a Uniswap V3 interface that can do swaps: https://bit.ly/3JkXYqL
------------------------------------------

Let's learn to run multihop swaps in Uniswap with JavaScript. Multihop swaps allow you to swap tokens and then immediately pass the output into another swap, all in a single transaction. We can do this with Uniswap V3's Swap Router. We'll be writing our code in JavaScript and using ethersJS to interact with the blockchain.

------------------------------------------------------------------------
Contract addresses and npm packages
https://gist.github.com/BlockmanCodes...

show more

Share/Embed