Skip to content

simple example for flash-loan for uniswap/sushiswap protocols

Notifications You must be signed in to change notification settings

SevenSwen/flash-loan-uniswap

Repository files navigation

Flash-loan uniswap contract

Requirements

  • nodeJS v10.19.0 or later
  • npm 6.14.10 or later
  • Truffle v5.1.55 (core: 5.1.55) or later

Installation

  • npm i - install all dependencies

Build contracts

  • npm run build - build all contracts

Run tests

  • npm run test - start all tests
  • npm run test -- no-build - start tests without rebuild contracts
  • npm run test test/<filename>.js - run tests for only one file
  • npm run test -- no-build test/<filename>.js - run tests for only one file without rebuild contracts

Make Flattened contract file

  • npm run flatten

About

simple example for flash-loan for uniswap/sushiswap protocols

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published