Foundry

89.2kstarscached

Fast, portable and modular toolkit for Ethereum

Testing & Deployment

Official links

About Foundry

Foundry is a Rust-based smart contract development toolchain. It is exceptionally fast, writes tests in Solidity (no JS indirection), and comes with world-class fuzzing and invariant testing out of the box. forge, cast, anvil, and chisel cover the entire contract development loop.

Quickstarts

A fast path from zero to running code.

Installbash
curl -L https://foundry.paradigm.xyz | bash
foundryup
New projectbash
forge init my-project
cd my-project
forge test

Documentation

The Foundry Book walks through forge (build + test), cast (CLI RPC), anvil (local node), and chisel (REPL). The fuzz / invariant chapters are the best primer on property-based testing in Solidity.

Read full docs

Community Notes

Tips, gotchas, and updated examples from the community.

No community notes yet.

Be the first to share a tip, gotcha, or updated example.

Share a note

Related Tools

Browse all →