Foundry: Ethereum development toolkit in Rust
A modular toolkit for Ethereum application development that includes compilation, testing, and deployment tools.
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.
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.
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.
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.
Related Repositories
Discover similar tools and frameworks used by developers
Polkadot SDK
Complete development kit for building blockchains and parachains on the Polkadot network ecosystem.
Solmate
A collection of gas-optimized Solidity contracts including ERC token implementations and utility libraries.
Lotus
Go-based reference implementation of the Filecoin distributed storage network protocol.
Forge Std
Collection of contracts and libraries that provide testing utilities and cheatcode wrappers for Forge and Foundry.
Optimism
Layer 2 blockchain that scales Ethereum using optimistic rollup technology and the open-source OP Stack framework.