Codebase for the practical part of the workshop An intro to degen DeFi strategies.
We assume NodeJS v16 to be installed and properly configured.
Follow the steps to setup your local machine for the workshop.
- fetch the required dependencies using
npm install
or (preferred)yarn install
. - add your Alchemy (http://alchemy.com) key to the .env file (use the .env.example file as a reference)
- load the .env file locally (on Unix systems,
source .env
) - compile the code with
yarn compile
ornpm run compile
- run the tests using
yarn test
ornpm run test
- you are ready to start
For any problems with hardhat follow the documentation here https://hardhat.org/tutorial/setting-up-the-environment.html