This is a foundry template to run quick and easy Proof of Concept (PoC) fork tests. It is intended to be used as a starting point for writing PoCs tests for vulnerabilities on any EVM compatible network. It is not intended to be used as a final PoC.
Foundry is required to use this template. Installation instructions can be found here.
- Clone the repository
- Run
forge installto download the dependencies - Run
cp .env.example .envand fill in the required values - Save your interfaces and custom contracts at
src/ - Write your PoC tests at
test/, using thetest/TestPoc1.solas a template, and runforge testto run them. Note it is recommended to use a file per PoC test, and name itTestPocX.solwhere X is the number of the PoC test.
Happy hacking anon!