Stack Gems
Menu
← Catalog

Foundry

MIT/Apache-2.0 EVM toolkit: forge, cast, anvil, chisel

Rust / Smart Contracts · Apache-2.0 · 10.7k

Reviewed 2026-10-18 · last push 2026-10-19 · repo checked 2026-10-19

What's Good

Dual MIT or Apache-2.0 (foundry-rs/foundry, your choice), release v1.8.5 (2026-10-05). foundryup installs everything, and forge init, forge build and forge test get a project running in a minute. anvil --fork-url forks a live chain locally, so you can test against real contract state. forge lsp brings a bundled Solidity language server for VS Code and other editors. ★~10.7k.

The Catch

EVM chains only: it does nothing for Solana or other non-EVM chains. Tests are written in Solidity rather than JavaScript or TypeScript, which is a real shift for teams coming from Hardhat and their existing test suites. It is a toolkit, not an audit: passing fuzz tests are not a security review.

Verdict

The default toolkit for new Solidity projects — budget time to port tests if you're moving off Hardhat.

Embed

Maintainer? Add the badge to your README. It is free, links to this review, and there is no paid version.

Reviewed on Stack Gems

Markdown

[![Reviewed on Stack Gems](https://stackgems.com/badge/foundry.svg)](https://stackgems.com/gems/foundry)

HTML

<a href="https://stackgems.com/gems/foundry"><img src="https://stackgems.com/badge/foundry.svg" alt="Foundry reviewed on Stack Gems" height="20"></a>

Related

Rust →