Hardhat: Ethereum development environment
Development environment for compiling, deploying, testing, and debugging Ethereum smart contracts and dApps.
Learn more about Hardhat
Hardhat is a development environment designed for Ethereum blockchain development workflows. It provides a comprehensive toolkit that includes a local Ethereum network simulation, smart contract compilation, automated testing framework, and debugging capabilities. The platform is built with JavaScript and TypeScript support, offering a task runner architecture that integrates various development tools. Developers use Hardhat to build, test, and deploy smart contracts and decentralized applications on the Ethereum blockchain.
Built-in Network
Includes a local Ethereum network simulation for testing and development without requiring external blockchain connections.
Task Runner Architecture
Provides a plugin-based task runner system that allows developers to automate and customize their development workflows.
Integrated Debugging
Features built-in debugging tools specifically designed for Ethereum smart contract development and troubleshooting.
// hardhat.config.js
require("@nomicfoundation/hardhat-toolbox");
/** @type import('hardhat/config').HardhatUserConfig */
module.exports = {
solidity: {
version: "0.8.19",
settings: {
optimizer: {
enabled: true,
runs: 200
}
}
},
networks: {
hardhat: {
chainId: 1337
},
sepolia: {
url: process.env.SEPOLIA_URL || "",
accounts: process.env.PRIVATE_KEY !== undefined ? [process.env.PRIVATE_KEY] : []
}
},
gasReporter: {
enabled: process.env.REPORT_GAS !== undefined,
currency: "USD"
},
etherscan: {
apiKey: process.env.ETHERSCAN_API_KEY
}
};This release adds support for eth_getProof RPC method and suppresses compiler warnings in Solidity test files.
- –Suppressed pragma and license warnings in Solidity test files
- –Added support for eth_getProof
This release focuses on improving developer experience with warning suppression, build reliability enhancements, and new plugin development hooks.
- –Suppression of memory-safe-assembly warnings coming from console.sol
- –Added retry for compiler downloads to help CIs
- –Added top level build hook within the build pipeline
- –Fixed bug where nested folders were not created during HTML coverage report generation
This release is a small bug fix release to improve the interaction of hardhat-verify with Hardhat's build system.
- –Multiple internal fixes to the solidity build system
Top in Crypto
Related Repositories
Discover similar tools and frameworks used by developers
Substrate
A modular framework for building custom blockchains with configurable consensus and runtime logic.
Freqtrade
Python trading bot with backtesting, strategy optimization, and live trading across crypto exchanges.
Solmate
A collection of gas-optimized Solidity contracts including ERC token implementations and utility libraries.
MetaMask Extension
Browser extension that provides wallet functionality for interacting with Ethereum blockchain applications.
Lotus
Go-based reference implementation of the Filecoin distributed storage network protocol.
Related Reading
Guides and comparisons from the Greptile content library
Best AI Code Review Tools for GitLab
Enterprise-grade AI code review tools for GitLab teams. In-depth comparison of accuracy, security, and integration features to accelerate your merge request workflows.
The 7 Best AI Coding Tools for Complex Codebases
The best AI coding tools for complex codebases, ranked on accuracy, suggestion quality, and full-codebase context. See which ones you can actually trust.
Best Security-Focused AI Code Review Tools [2026 Guide]
The six best security-focused AI code review tools, compared on SAST, SCA, DAST, and full-repo context, so you can pick the one that fits your codebase and your cycle times.
Top AI Code Review Tools for Small Dev Teams 2026
Affordable, lightweight AI code review tools that help small teams catch bugs faster. Practical comparisons of accuracy, ease of use, and value for teams without enterprise budgets.