https://github.com/foundry-rs/foundry
Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.
https://github.com/foundry-rs/foundry
alloy blockchain bytecode compiler compilers dapp eth ethereum evm framework fuzzing ir rust solidity testing tooling
Last synced: 11 days ago
JSON representation
Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.
- Host: GitHub
- URL: https://github.com/foundry-rs/foundry
- Owner: foundry-rs
- License: apache-2.0
- Created: 2021-09-08T11:23:11.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2026-02-08T06:47:45.000Z (28 days ago)
- Last Synced: 2026-02-08T13:56:23.072Z (27 days ago)
- Topics: alloy, blockchain, bytecode, compiler, compilers, dapp, eth, ethereum, evm, framework, fuzzing, ir, rust, solidity, testing, tooling
- Language: Rust
- Homepage: https://getfoundry.sh/
- Size: 85.6 MB
- Stars: 10,114
- Watchers: 86
- Forks: 2,388
- Open Issues: 548
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: FUNDING.json
- License: LICENSE-APACHE
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
- awesome-blazingly-fast - foundry - Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust. (Rust)
- awesome-rust - Foundry - Foundry is a blazing fast, portable and modular toolkit for Ethereum application development.  (Applications / Blockchain)
- awesome-rust-cn - Foundry - (应用程序 Applications / 加密货币 Cryptocurrencies)
- awesome-testing - Foundry - Blazing fast, portable and modular toolkit for Ethereum application development written in Rust. (Software / Web3 and Blockchain)
- awesome-smart-contract-development - Foundry
- awesome-rust - Foundry - Foundry is a blazing fast, portable and modular toolkit for Ethereum application development.  (Applications / Blockchain)
- awesome-ethereum-rust - Foundry
- awesome - foundry
- StarryDivineSky - foundry-rs/foundry
- AiTreasureBox - foundry-rs/foundry - 11-03_9753_0](https://img.shields.io/github/stars/foundry-rs/foundry.svg)|Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.| (Repos)
- awesome-kaia - Foundry
- fucking-awesome-rust - Foundry - Foundry is a blazing fast, portable and modular toolkit for Ethereum application development.  (Applications / Blockchain)
- evm-fuzzing-resources - Foundry
- awesome-web3-security - Foundry - Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust. (<a name="tools"></a> Tools / <a name="sast"> SAST/DAST/Unity Test Analysis)
- awesome-testing - Foundry - Blazing fast, portable, and modular toolkit for Ethereum application development written in Rust. (Web3 and Blockchain Testing / Foundry)
- awesome-solidity - Foundry
- awesome - Foundry
- awesome-rust - Foundry - 以太坊应用开发的模块化工具集。 (区块链)
- awesome-rust-with-stars - Foundry - 01-30 | (Applications / Blockchain)
- awesome-solidity - foundry-rs/foundry - Blazing fast, portable and modular toolkit for Ethereum application development written in Rust. (Tools)
README
[![Github Actions][gha-badge]][gha-url] [![Telegram Chat][tg-badge]][tg-url] [![Telegram Support][tg-support-badge]][tg-support-url]
[gha-badge]: https://img.shields.io/github/actions/workflow/status/foundry-rs/foundry/test.yml?branch=master&style=flat-square
[gha-url]: https://github.com/foundry-rs/foundry/actions
[tg-badge]: https://img.shields.io/endpoint?color=neon&logo=telegram&label=chat&style=flat-square&url=https%3A%2F%2Ftg.sumanjay.workers.dev%2Ffoundry_rs
[tg-url]: https://t.me/foundry_rs
[tg-support-badge]: https://img.shields.io/endpoint?color=neon&logo=telegram&label=support&style=flat-square&url=https%3A%2F%2Ftg.sumanjay.workers.dev%2Ffoundry_support
[tg-support-url]: https://t.me/foundry_support
**[Install](https://getfoundry.sh/getting-started/installation)**
| [Docs][foundry-docs]
| [Benchmarks](https://www.getfoundry.sh/benchmarks)
| [Developer Guidelines](./docs/dev/README.md)
| [Contributing](./CONTRIBUTING.md)
| [Crate Docs](https://foundry-rs.github.io/foundry)
---
Blazing fast, portable and modular toolkit for Ethereum application development, written in Rust.
- [**Forge**](https://getfoundry.sh/forge) — Build, test, fuzz, debug and deploy Solidity contracts.
- [**Cast**](https://getfoundry.sh/cast) — Swiss Army knife for interacting with EVM smart contracts, sending transactions and getting chain data.
- [**Anvil**](https://getfoundry.sh/anvil) — Fast local Ethereum development node.
- [**Chisel**](https://getfoundry.sh/chisel) — Fast, utilitarian and verbose Solidity REPL.

## Installation
```sh
curl -L https://foundry.paradigm.xyz | bash
foundryup
```
See the [installation guide](https://getfoundry.sh/getting-started/installation) for more details.
## Getting Started
Initialize a new project, build and test:
```sh
forge init counter && cd counter
forge build
forge test
```
Interact with a live network:
```sh
cast block-number --rpc-url https://eth.merkle.io
cast balance vitalik.eth --ether --rpc-url https://eth.merkle.io
```
Fork mainnet locally:
```sh
anvil --fork-url https://eth.merkle.io
```
Read the [Foundry Docs][foundry-docs] to learn more.
## Contributing
Contributions are welcome and highly appreciated. To get started, check out the [contributing guidelines](./CONTRIBUTING.md).
Join our [Telegram][tg-url] to chat about the development of Foundry.
## Support
Having trouble? Check the [Foundry Docs][foundry-docs], join the [support Telegram][tg-support-url], or [open an issue](https://github.com/foundry-rs/foundry/issues/new).
#### 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.
[foundry-docs]: https://getfoundry.sh