Foundry consists of:
- Forge: Ethereum testing framework (like Truffle, Hardhat and DappTools).
- Cast: Swiss army knife for interacting with EVM smart contracts, sending transactions and getting chain data.
- Anvil: Local Ethereum node, akin to Ganache, Hardhat Network.
- Chisel: Fast, utilitarian, and verbose solidity REPL.
This repo contains Sunscreen's fork of Foundry. Everything is the same, except that the underlying EVM supports additional precompiles so that you can perform FHE computation.
Installing our fork is simple! First, get Rust. Then
cargo install --git https://github.com/Sunscreen-tech/foundry --profile local forge anvil cast chisel
Or, if you've already cloned down this repo, you can install from local paths:
cargo install --path ./crates/forge --profile local --force --locked
cargo install --path ./crates/anvil --profile local --force --locked
cargo install --path ./crates/cast --profile local --force --locked
cargo install --path ./crates/chisel --profile local --force --locked
For documentation, refer to the Foundry Book and the original Foundry README.