Comparison

Foundry vs Hardhat

No leader: the top candidate Foundry has only 0.16 confidence (low), below the 0.35 needed to declare a winner. The attribute-by-attribute breakdown below, with a source and date on every value, is the honest way to compare them.

Machine formatsJSONMarkdownGraphQLor send Accept: application/json
Foundry57
Hardhat55
Score
Vioscale score
Foundry57 / 100low · 16%
Hardhat55 / 100low · 17%
Pricing
Free tier
Foundry
Hardhat
Model
Foundryfree
Hardhat
Price level
Foundryfree
Hardhat
Integrations
Count
Foundry
Hardhat3
Reliability
Status page
Foundry
Hardhat
Adoption
Dependent repos
Foundry1
Hardhat36,669
Github stars
Foundry10,568
Hardhat8,506
Activity
Commits last 30d
Foundry100
Hardhat100
Release
Cadence days
Foundry1
Hardhat
History
Foundry20 items
Hardhat20 items
License
Spdx
FoundryApache-2.0
Hardhat
Language
Primary
FoundryRust
HardhatTypeScript

Capabilities

Feature-by-feature on the axes that matter for blockchain dev tools. “-” means undocumented, not absent.

Capabilities
Tooling type
Foundry-
Hardhat-
Evm compatible only
Foundry-
Hardhat-
Local dev network
Foundry-
Hardhat-
Native fuzzing invariant testing
Foundry-
Hardhat-
Mainnet forking
Foundry-
Hardhat-
Contract verification integration
Foundry-
Hardhat-
Trace debugger
Foundry-
Hardhat-
Gas profiling
Foundry-
Hardhat-
Archive node access
Foundry-
Hardhat-
Graphql indexing
Foundry-
Hardhat-
Static analysis security tool
Foundry-
Hardhat-
Open source
Foundry-
Hardhat-
Maintenance status
Foundry-
Hardhat-

What each one is

The product in its own terms, so the numbers below have context.

Foundry

A toolkit for building, testing, and interacting with Ethereum smart contracts. It provides command-line tools for rapid development, testing, and deployment, including automatic documentation generation from Solidity source code.

Independently observed

Hardhat

A tooling platform that streamlines Ethereum development by providing testing frameworks for Solidity and TypeScript, multi-chain network simulation, and a plugin-based architecture for extending functionality and integrating external tools.

Independently observed

Pricing

List pricing as published by each vendor, with the date we read it. Always verify at the source before you buy.

Foundry

FreeFree tier
as of verify ↗

Hardhat

Pricing not documented yet.

Platform & deployment

Where each product runs and how it can be hosted. A dash means undocumented, not unsupported.

Platforms
macOS
Foundry
Hardhat
Linux
Foundry
Hardhat
CLI
Foundry
Hardhat

Integrations

What each product connects to. Counts come from the vendor's own integration directory where one exists.

Foundry

Not documented yet.

Hardhat

3 total
  • Optimism OP Stack
  • Base
  • Mocha
Independently observed

Comparison generated from independently-sourced facts. Every value links to its source and retrieval date. See the method.