Skip to content

Foundry template to run Proof of Concept (PoC) fork tests on any EVM compatible chain.

Notifications You must be signed in to change notification settings

vnmrtz/quickfork

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Foundry PoC Template

Introduction

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.

Requirements

Foundry is required to use this template. Installation instructions can be found here.

Usage

  1. Clone the repository
  2. Run forge install to download the dependencies
  3. Run cp .env.example .env and fill in the required values
  4. Save your interfaces and custom contracts at src/
  5. Write your PoC tests at test/, using the test/TestPoc1.sol as a template, and run forge test to run them. Note it is recommended to use a file per PoC test, and name it TestPocX.sol where X is the number of the PoC test.

Happy hacking anon!

About

Foundry template to run Proof of Concept (PoC) fork tests on any EVM compatible chain.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published