foundry VS hardhat

Compare foundry vs hardhat and see what are their differences.

foundry

Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust. (by foundry-rs)

hardhat

Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software. (by NomicFoundation)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
foundry hardhat
39 125
7,530 6,754
3.3% 2.8%
9.9 9.9
2 days ago 4 days ago
Rust TypeScript
Apache License 2.0 GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

foundry

Posts with mentions or reviews of foundry. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-30.

hardhat

Posts with mentions or reviews of hardhat. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-07.

What are some alternatives?

When comparing foundry and hardhat you can also consider the following projects:

truffle - :warning: The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.

hevm - Dapp, Seth, Hevm, and more

ganache - :warning: The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.

ds-test - Assertions, equality checks and other test helpers

remix-ide - Documentation for Remix IDE

zksync - zkSync: trustless scaling and privacy engine for Ethereum

openzeppelin-contracts - OpenZeppelin Contracts is a library for secure smart contract development.

ethers-rs - Complete Ethereum & Celo library and wallet implementation in Rust. https://docs.rs/ethers

ethers.js - Complete Ethereum library and wallet implementation in JavaScript.

revm - Ethereum Virtual Machine written in rust that is fast and simple to use

complete-guide-to-full-stack-solana-development - Code examples for the blog post titled The Complete Guide to Full Stack Solana Development with React, Anchor, Rust, and Phantom