This repo can be used to simulate executing Uniswap proposals on a fork of mainnet.
This project uses hardhat.
- clone the repository
- run
npm install
- create a
.env
file with a value forMAINNET_URL
. This must point to an archival node, e.g. Alchemy.
You can run a script with the following command:
npx hardhat run scripts/<script name>
To fix lint errors and prettify JSON files, run:
npx eslint '**/*.{js,ts}' --fix && npx prettier '**/*.{json,sol,md}' --write