Created
October 18, 2022 23:15
-
-
Save BlockmanCodes/08324bc1c512471cb84bd908ab3f4a92 to your computer and use it in GitHub Desktop.
Uniswap Multihop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const V3SwapRouterAddress = '0xE592427A0AEce92De3Edee1F18E0157C05861564' | |
const WETHAddress = '0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6'; | |
const USDCAddress = '0x07865c6E87B9F70255377e024ace6630C1Eaa37F'; | |
const UNIAddress = '0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "multihop-2", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"keywords": [], | |
"author": "", | |
"license": "ISC", | |
"dependencies": { | |
"@uniswap/v3-periphery": "^1.4.0", | |
"dotenv": "^16.0.3", | |
"ethers": "^5.7.1" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
js code please?