Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 331 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 331 Bytes

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