hardhat VS foundry

Compare hardhat vs foundry and see what are their differences.

hardhat

Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software. (by NomicFoundation)

foundry

Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust. (by foundry-rs)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
hardhat foundry
126 39
6,780 7,530
3.1% 3.3%
9.9 9.9
1 day ago 7 days ago
TypeScript Rust
GNU General Public License v3.0 or later Apache License 2.0
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.

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 2024-04-25.

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.

What are some alternatives?

When comparing hardhat and foundry 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.

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.

hevm - Dapp, Seth, Hevm, and more

remix-ide - Documentation for Remix IDE

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

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

zksync - zkSync: trustless scaling and privacy engine for Ethereum

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

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

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

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