{"schemaVersion":1,"id":"foundry","name":"Foundry","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/foundry/","officialUrl":"https://github.com/foundry-rs/foundry","isCatalog":false,"description":"An Ethereum contract development toolchain with a local chain, tests, and a CLI: it helps test smart contracts before network deployment.","tasks":["Test smart contracts before network deployment","Compile and test contracts and investigate detected errors"],"categoryIds":["software","infrastructure"],"subcategoryIds":["software.cli","infrastructure.developer"],"tags":["Foundry","CLI","Development"],"aliases":["foundry-rs/foundry","foundry","foundry-ethereum-toolkit"],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"Local blockchain, contract builds, and tests under the selected license.","paidUsage":"Network transactions, RPC providers, and hosting are paid for separately.","license":"Apache-2.0 OR MIT according to the official README; third-party components retain their own terms.","selectionGuide":{"purpose":"Test smart contracts before network deployment","chooseWhen":["Test smart contracts before network deployment","Compile and test contracts and investigate detected errors"],"considerInstead":[],"requirements":["Choose the tool for the task; foundryup is the toolchain installation path described in the README."],"limitations":["Costs and limits of free use: Network transactions, RPC providers, and hosting are paid for separately.","Terms of use: Apache-2.0 OR MIT according to the official README; third-party components retain their own terms.","Local Anvil availability does not establish free RPC services or absence of gas costs on a chosen external network."],"faq":[{"question":"What can you use for free in Foundry?","answer":"Local blockchain, contract builds, and tests under the selected license."},{"question":"What additional costs might arise with Foundry?","answer":"Network transactions, RPC providers, and hosting are paid for separately."},{"question":"What terms of use matter for Foundry?","answer":"Apache-2.0 OR MIT according to the official README; third-party components retain their own terms."},{"question":"How do you get started with Foundry?","answer":"Prepare Solidity contracts and start a local chain for the test scenario. Compile and test contracts and investigate detected errors. Save the working command or script and the result criteria."},{"question":"How do Forge, Cast, Anvil, and Chisel differ in Foundry?","answer":"Forge builds and tests Solidity projects. Cast interacts with the EVM, sending transactions and reading chain data. Anvil starts a local Ethereum node, and Chisel provides a Solidity REPL. These tools have different roles; a local node separates development from real network interaction."}],"related":[],"sources":["https://github.com/foundry-rs/foundry","https://raw.githubusercontent.com/foundry-rs/foundry/HEAD/README.md","https://raw.githubusercontent.com/foundry-rs/foundry/HEAD/LICENSE-MIT","https://www.open-source-tools.com/"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Test smart contracts before network deployment.","inputs":["Solidity contracts, expected state changes, and test accounts.","A local Foundry environment and a test network without real funds."],"steps":["Prepare Solidity contracts and start a local chain for the test scenario.","Compile and test contracts and investigate detected errors.","Save the working command or script and the result criteria."],"checks":["Tests check successful operations and expected reverts; assertions verify contract state.","Local checks do not replace a contract audit; private keys are not written to repositories or logs."]},"sources":["https://github.com/foundry-rs/foundry","https://raw.githubusercontent.com/foundry-rs/foundry/HEAD/README.md","https://raw.githubusercontent.com/foundry-rs/foundry/HEAD/LICENSE-MIT","https://www.open-source-tools.com/"],"checkedAt":"2026-10-06","reviewScope":"The purpose, current repository license, and separate terms for code, services, and models have been reviewed. The product was not run, and no security audit was performed.","relatedIds":["wagmi"],"dataVersion":"cbbe7123b47a5ae80983","type":"Developer CLI","kind":"tool","pricingNote":"Local blockchain, contract builds, and tests under the selected license. Network transactions, RPC providers, and hosting are paid for separately.","notes":null,"labeledSources":[{"url":"https://github.com/foundry-rs/foundry","label":"Official source"},{"url":"https://raw.githubusercontent.com/foundry-rs/foundry/HEAD/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/foundry-rs/foundry/HEAD/LICENSE-MIT","label":"License"},{"url":"https://www.open-source-tools.com/","label":"Catalog / discovery source"}],"licenseGuides":[{"id":"apache-2","title":"Apache 2.0 — permissive license with patent terms","scope":null,"summary":"You can use and modify the code in commercial and closed-source projects. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks.","url":"https://www.apache.org/licenses/LICENSE-2.0"},{"id":"mit","title":"MIT — permissive license","scope":null,"summary":"You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.","url":"https://opensource.org/license/mit"}],"entryIds":[],"composition":null}