Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.
  • Rust 98.8%
  • JavaScript 0.6%
  • Shell 0.4%
Find a file
2026-03-27 19:23:26 +01:00
.cargo fix(lint): allow custom types in "constant fn getters" (#11866) 2025-09-29 07:54:45 +00:00
.config ci: add nightly workflow for flaky tests (#13134) 2026-01-20 13:26:28 +00:00
.devcontainer ci: bump python to 3.14 (#12158) 2025-10-17 17:55:26 +00:00
.github chore(deps): bump DeterminateSystems/determinate-nix-action from 3.17.0 to 3.17.1 (#13914) 2026-03-26 10:31:42 +01:00
benches chore: remove duplicate dev-dependencies (#13597) 2026-03-03 18:47:12 +01:00
crates feat(anvil): add Tempo config helpers (#13968) 2026-03-27 19:23:26 +01:00
docs/dev ci(doc): document feature sync (#12498) 2025-11-08 07:03:07 +00:00
foundryup fix(foundryup): tempo-foundry now ships all binaries (#13834) 2026-03-18 12:29:08 +00:00
npm perf: add dist profile for smaller release binaries (#13097) 2026-01-15 13:16:49 +00:00
testdata feat(cheatcodes): add currentFilePath cheatcode (#13735) 2026-03-19 12:02:59 +01:00
.dockerignore feat: alpine based docker image (#981) 2022-03-21 11:47:02 -07:00
.git-blame-ignore-revs chore: ignore edition 2024 bump in .git-blame-ignore-revs (#10919) 2025-07-03 18:24:09 +00:00
.gitattributes feat: harden npm publish & make installer leaner (#11600) 2025-09-15 20:30:46 -07:00
.gitignore chore(meta): update .gitignore (#12975) 2026-01-02 09:36:47 +00:00
benchmark.sh feat(ci): lint shell scripts (#12797) 2025-12-16 12:57:22 +00:00
Cargo.lock refactor(evm): generalize TryAnyToTxEnv trait over TxEnv + simplification (#13924) 2026-03-26 09:03:50 +00:00
Cargo.toml feat(cast): add --network flag to cast tx for network-specific raw encoding (#13745) 2026-03-16 12:41:10 +01:00
clippy.toml chore(meta): remove MSRV from clippy.toml (#12489) 2025-11-07 17:02:56 +00:00
CONTRIBUTING.md docs: fix wrong flag and deprecated command for clippy (#12780) 2025-12-09 17:42:32 +00:00
deny.toml feat: Tempo wallet access key support for cast (#13909) 2026-03-24 16:51:20 +00:00
Dockerfile move sccache --show-stats into build RUN to show actual stats (#13483) 2026-02-18 10:21:13 +01:00
dprint.json feat: npm publish anvil, cast and chisel (#11945) 2025-10-30 12:08:19 +00:00
flake.lock Update flake.lock (#13877) 2026-03-23 09:22:03 +00:00
flake.nix chore(flake): use nightly rustfmt (#13441) 2026-02-16 11:12:31 +01:00
FUNDING.json feat(fmt): dprint for toml, json, md, dockerfile, ts, & yml (#10824) 2025-06-21 18:26:48 +02:00
LICENSE-APACHE chore: update README for 1.0 (#9540) 2025-01-28 13:14:40 +01:00
LICENSE-MIT chore: update README for 1.0 (#9540) 2025-01-28 13:14:40 +01:00
Makefile chore(ci): unblock ci, fix clippy lint (#13543) 2026-02-26 12:34:38 +01:00
README.md docs: slim readme (#13393) 2026-02-09 14:22:57 +01:00
rustfmt.toml chore: bump to rust edition 2024 (#10802) 2025-07-03 18:05:41 +00:00
SECURITY.md chore(meta): update SECURITY.md (#9230) 2024-10-30 11:10:51 +01:00
typos.toml chore: fix typos CI (#13303) 2026-02-03 08:54:49 +00:00


Blazing fast, portable and modular toolkit for Ethereum application development, written in Rust.

  • Forge — Build, test, fuzz, debug and deploy Solidity contracts.
  • Cast — Swiss Army knife for interacting with EVM smart contracts, sending transactions and getting chain data.
  • Anvil — Fast local Ethereum development node.
  • Chisel — Fast, utilitarian and verbose Solidity REPL.

Demo

Installation

curl -L https://foundry.paradigm.xyz | bash
foundryup

See the installation guide for more details.

Getting Started

Initialize a new project, build and test:

forge init counter && cd counter
forge build
forge test

Interact with a live network:

cast block-number --rpc-url https://eth.merkle.io
cast balance vitalik.eth --ether --rpc-url https://eth.merkle.io

Fork mainnet locally:

anvil --fork-url https://eth.merkle.io

Read the Foundry Docs to learn more.

Contributing

Contributions are welcome and highly appreciated. To get started, check out the contributing guidelines.

Join our Telegram to chat about the development of Foundry.

Support

Having trouble? Check the Foundry Docs, join the support Telegram, or open an issue.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in these crates by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.