Phoundry is a minimalfork of Foundry that is customized to support the cheat codes used in the Credible Layer
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.
curl -L https://foundry.paradigm.xyz | bash
foundryupSee the installation guide for more details.
To verify a downloaded release archive or container image, see Verifying Releases.
Initialize a new project, build and test:
forge init counter && cd counter
forge build
forge testInteract with a live network:
cast block-number --rpc-url https://eth.merkle.io
cast balance vitalik.eth --ether --rpc-url https://eth.merkle.ioFork mainnet locally:
anvil --fork-url https://eth.merkle.ioRead the Foundry Docs to learn more.
Contributions are welcome and highly appreciated. To get started, check out the contributing guidelines.
Join our Telegram to chat about the development of Foundry.
Having trouble? Check the Foundry Docs, join the support Telegram, or open an issue.
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.
The default branch of this repository is main.
To update the upstream repository, run the following commands:
git remote add upstream https://github.com/foundry-rs/foundry.git
git fetch upstream
git checkout main
# Backup branch
git checkout -b upstream-update
git checkout main
git rebase upstream/master
git push --force-with-lease origin main

