Architecture

May 17, 2026 ยท View on GitHub

This document describes the high-level architecture of Foundry.

evm/

Foundry's EVM tooling. This is built around revm and has additional implementation of:

  • cheatcodes: a set of solidity calls dedicated to testing which can manipulate the environment in which the execution is run

config/

Includes all of Foundry's settings and how to get them

cli/

The core forge and cast cli implementation. Includes all subcommands.