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 install
to download the dependencies - Run
cp .env.example .env
and fill in the required values - Save your interfaces and custom contracts at
src/
- Write your PoC tests at
test/
, using thetest/TestPoc1.sol
as a template, and runforge test
to run them. Note it is recommended to use a file per PoC test, and name itTestPocX.sol
where X is the number of the PoC test.
Happy hacking anon!