foundry-rs/foundry

Rustgetfoundry.sh
macOSWindowsLinux

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

rustsolidityevmtestingfuzzingblockchainethereumtoolingframeworkethdappalloy
Star 增长趋势
Star
10.6k
Forks
2.6k
周增长
+6
Issues
228
5k10k
2021年9月2023年5月2025年1月2026年9月
制品库crates.io
README

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.

To verify a downloaded release archive or container image, see Verifying Releases.

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.

Solidity editor integration

Configure your editor's Solidity language server command as forge lsp. The server is embedded in Forge, so the standalone solar executable is not required. Solar uses foundry.toml, workspace folders, remappings, and evm_version from the project automatically.

Solar's default flycheck runs forge lint --json with the same Forge executable that started the server. Solar's existing initializationOptions.forgePath option overrides that executable.

forge lsp follows Forge's normal environment setup, global-option parsing, and command dispatch. Project dotenv warnings use stderr, leaving stdout reserved for the LSP transport.

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.
相关仓库
farion1231/cc-switch

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

Rustcrates.ioskillMIT Licenseai-toolsclaude-code
ccswitch.io
131.8k9.1k
rustdesk/rustdesk

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

Rustcrates.ioappGNU Affero General Public License v3.0remote-controlremote-desktop
rustdesk.com
123k18.9k
rust-lang/rust

Empowering everyone to build reliable and efficient software.

Rustcrates.ioApache License 2.0rustcompiler
rust-lang.org
118k15.5k
tauri-apps/tauri

Build smaller, faster, and more secure desktop and mobile applications with a web frontend.

Rustcrates.iolibraryApache License 2.0rustwebview
tauri.app
110.9k3.9k
denoland/deno

A modern runtime for JavaScript and TypeScript.

Rustcrates.ioMIT Licensedenotypescript
deno.com
108.4k6.4k
oven-sh/bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one

Rustcrates.iolibraryOtherbunbundler
bun.com
95.9k5k
rtk-ai/rtk

CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies

Rustcrates.iocliApache License 2.0agentic-codingai-coding
rtk-ai.app
79.6k5k
unionlabs/union

The trust-minimized, zero-knowledge bridging protocol, designed for censorship resistance, extremely high security, and usage in decentralized finance.

Rustcrates.ioApache License 2.0blockchaincosmos
union.build
73.8k3.9k
toeverything/AFFiNE

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

TypeScriptnpmappOthereditorcrdt
affine.pro
72.4k5.3k
openinterpreter/openinterpreter

A coding agent for open models like Kimi K3 and GLM 5.3

Rustcrates.ioApache License 2.0coding-agentdeepseek
openinterpreter.com
68.3k5.9k
BurntSushi/ripgrep

ripgrep recursively searches directories for a regex pattern while respecting your gitignore

Rustcrates.iocliThe Unlicenseripgreprecursively-search
68.1k2.8k
dani-garcia/vaultwarden

Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs

Rustcrates.ioGNU Affero General Public License v3.0vaultwardenbitwarden
67k3.2k