Test app that connects to Uniswap v2 using Hard Hat + Waffle + Ethers
- Node >= 10.0 (https://nodejs.org)
- yarn:
npm install --global yarn
Install:
yarn install
Compile:
yarn run compile
Test in local Hardhat blockchain:
yarn run test
Test in Rinkeby test network:
yarn run test_rinkeby
Run prettier on all your contracts:
yarn run prettier