Skip to content

example code of uniswapV3 token swaps with hardhat and ethersjs

Notifications You must be signed in to change notification settings

gebob19/uniswap-v3-token-swap

Repository files navigation

Uniswap V3 Token Swap Example

This repo does the following with hardhat's mainnet-forking:

  • ETH -> WETH
  • WETH -> DAI (using Uniswap)

Note: Setup .env file with ALCHEMY_API variable set

Info

  • run code with : npx hardhat test
  • code file: test/index.ts
  • contract from UniswapV3 examples: contracts/Swap.sol

About

example code of uniswapV3 token swaps with hardhat and ethersjs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published