What's In This Cookbook

A collection of practical, no-fluff recipes for Foundry. Each one is a step-by-step guide to a single task I've had to figure out more than once.

I use Foundry every day for my security research work. Over time, I’ve found myself solving the same problems over and over again. Things like setting up a new project, writing a specific type of test, or deploying a contract with a script.

This cookbook is my personal collection of solutions to those problems.

Each recipe is a short, step-by-step guide to get one specific task done. There’s no long explanations or theory here. It’s just the practical steps and code snippets I use to get things working.

Think of it as a cheat sheet. When you need to figure out how to test for a revert or how to fork mainnet for a test, you can just grab the recipe and get back to building.

Table of Contents