Skip to content

example code of uniswapV3 flash swap/loan with hardhat and ethersjs

Notifications You must be signed in to change notification settings

gebob19/uniswap-v3-flashswap

Repository files navigation

Uniswap V3 Flash Swap Example

Builds upon the token swap example: https://github.com/gebob19/uniswap-v3-token-swap

Note: Setup .env file with ALCHEMY_API variable set

Info

  • run code with : npx hardhat test
  • code file: test/index.ts
  • UniswapV3 contract to swap tokens: contracts/swap.sol
  • flashswap contract: contracts/flash.sol

About

example code of uniswapV3 flash swap/loan with hardhat and ethersjs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published