Skip to content

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

85 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages