# Foundry

Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.

Repository: https://github.com/foundry-rs/foundry
Canonical: https://ross.abutalabs.com/products/foundry
Homepage: https://getfoundry.sh/
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: rust, solidity, evm, testing, fuzzing, blockchain, ethereum, tooling, framework, eth, dapp, alloy, bytecode, compiler, compilers, ir, smart-contracts, tempo, vyper, toolkit
Last push: 2026-08-26T23:49:20+00:00
Link (homepage): https://getfoundry.sh/
Link (site_page): https://www.getfoundry.sh/introduction/getting-started
Link (site_page): https://www.getfoundry.sh/changelog

## Health v2 (maintenance only)
Score: 94/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 83, longevity 100
- inputs: {"age_days": 1820, "days_push": 7, "days_rel": 117, "gap_med": 5, "n_releases_24m": 40}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 10568, forks 2608 (observed 2026-08-28T04:10:42.371916+00:00)

## What it is
Foundry is a fast, portable, modular toolkit for Ethereum smart contract development written in Rust, comprising Forge (build/test/fuzz/deploy), Cast (chain interaction CLI), Anvil (local dev node with forking), and Chisel (Solidity REPL). It is the de facto standard alternative to Hardhat/Truffle for Solidity development.

## Use cases
- test and fuzz solidity smart contracts
- deploy ethereum contracts from the command line
- run a local ethereum node with mainnet forking
- query blockchain data and send transactions from cli
- prototype solidity code in a repl
- debug evm bytecode and trace contract calls

## When to choose
- you develop or audit Solidity/Vyper smart contracts and want fast compilation and testing
- you need fuzzing, invariant testing, or gas snapshots for contracts
- you want to fork mainnet locally for realistic testing
- you prefer a CLI-first workflow over JavaScript-based frameworks like Hardhat

## When to avoid
- you need a JavaScript/TypeScript-native testing environment with deep ethers.js integration
- you are building non-EVM blockchain applications
- you want a GUI-based contract IDE experience

## Facets
- artifact type: framework
- maturity: stable
- function: testing, fuzzing, compiler, cli, developer-tools, blockchain
- domain: blockchain, developer-tools
- platform: windows, cli, cross-platform
- tags: ethereum, solidity, evm, smart-contracts, forge, cast, anvil, chisel, rust, vyper, dapp-development, local-node, repl, linux, macos

## Member repositories
- foundry-rs/foundry (main) score 94
- foundry-rs/forge-std (sdk) score 92

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:42.371916+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:18:31.889151+00:00, confidence not recorded.
  - readme: https://github.com/foundry-rs/foundry (fetched 2026-08-28T04:10:42.371916+00:00, sha 3e3e244fa057)
  - homepage: https://getfoundry.sh/ (fetched 2026-08-29T08:17:44.179055+00:00, sha d41f6e914a4a)
  - site_page: https://www.getfoundry.sh/introduction/getting-started (fetched 2026-08-29T08:17:44.188140+00:00, sha 0aec647c8b74)
  - site_page: https://www.getfoundry.sh/changelog (fetched 2026-08-29T08:17:44.190736+00:00, sha 33953667041c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
