Cream Finance Exploit Example

Disclaimer: This project is for educational purposes only. The author has no relationship to the exploiter or the exploit that happened.

How to Run:

Add you Alchemy key api to .env file. E.g: ALCHEMY_API_KEY=https://eth-mainnet.alchemyapi.io/v2/key-goes-here

then

npm install
npx hardhat run scripts/attack.js