Navigate:
Foundry
~$FOUND0.4%

Foundry: Ethereum development toolkit in Rust

A modular toolkit for Ethereum application development that includes compilation, testing, and deployment tools.

LIVE RANKINGS • 12:30 AM • STEADY
OVERALL
#173
245
CRYPTO
#5
17
30 DAY RANKING TREND
ovr#173
·Crypt#5
STARS
10.1K
FORKS
2.4K
7D STARS
+37
7D FORKS
+19
Tags:
See Repo:
Share:

Learn more about Foundry

Foundry is a comprehensive toolkit for Ethereum application development written in Rust. It consists of four main components: Forge for building and testing Solidity contracts, Cast for interacting with EVM smart contracts, Anvil for local Ethereum node simulation, and Chisel as a Solidity REPL. The toolkit leverages Rust's performance characteristics to provide compilation and testing capabilities with parallelized builds and incremental compilation. Foundry is commonly used by developers building decentralized applications, smart contract testing, and blockchain development workflows.

Foundry

1

Rust Implementation

Built entirely in Rust, providing memory safety and performance advantages over JavaScript-based alternatives. The Rust foundation enables efficient compilation and testing operations.

2

Integrated Testing Suite

Includes native fuzz testing, invariant testing, and property-based testing capabilities within the Solidity environment. Tests are written directly in Solidity without requiring separate testing languages.

3

Modular Architecture

Composed of four distinct tools (Forge, Cast, Anvil, Chisel) that can be used independently or together. Each component serves a specific purpose in the development workflow.


// After installation, initialize a new Foundry project
// Run this in your terminal to create a new project structure
forge init my-project
cd my-project

// Your project will have this structure:
// src/           - Solidity contracts
// test/          - Solidity test files  
// script/        - Deployment scripts
// foundry.toml   - Configuration file


vnightly-51ec347adeadbe5cc60b267b0dfcf499e6a7c31f

Nightly (2026-01-27)

  • feat(forge): add browser wallet support for `forge script` (#12952) by @mablr
  • ci: use shared cache mounts for parallel builds (#13231) by @DaniPopes
  • fix(anvil): preserve withdrawals in SerializableBlock for state dump/load (#13227) by @echowandere
  • chore(deps): bump DeterminateSystems/determinate-nix-action from 3.15.1 to 3.15.2 (#13236) by @dependabot[bot]
  • chore(deps): bump taiki-e/install-action from 2.66.2 to 2.67.13 (#13235) by @dependabot[bot]
vnightly-e805fce21952030416f683f3a8c11093910cfddd

Nightly (2026-01-25)

  • feat(cast): add --flatten flag to cast interface (#13201) by @mattsse
vnightly-e125369c21f0fe284b3e3a9bbf07955823b899f3

Nightly (2026-01-26)

  • chore(deps): weekly `cargo update` (#13213) by @github-actions[bot]
  • chore(anvil): clean up remaining dead code after Odyssey sunset (#13211) by @mablr
  • fix(coverage): correct BRDA hit values for LCOV consistency (#13151) by @gakonst


[ EXPLORE MORE ]

Related Repositories

Discover similar tools and frameworks used by developers