Review: why Foundry became the default for contract development
From test speed and scripting UX to security workflows — where Foundry shines and where it does not.
Foundry (forge / cast / anvil) is built in Rust for fast tests and scripted deployments. More teams treat it as the default contract toolchain.
Where it excels
Extremely fast test feedback; low friction writing tests in Solidity; forge script for repeatable deploys; and a smoother security loop when paired with fuzz / invariant testing.
When Hardhat still helps
If you lean heavily on TypeScript plugins, complex frontend integration, or an existing Hardhat pipeline, do not force a migration. They can coexist: Foundry for tests and scripts, Hardhat for specific plugin needs.
For most new projects we suggest starting with Foundry, then adding Hardhat when you hit an ecosystem gap.