Navigate:
Hardhat
~$HARDH0.0%

Hardhat: Ethereum development environment

Development environment for compiling, deploying, testing, and debugging Ethereum smart contracts and dApps.

LIVE RANKINGS • 12:18 PM • STEADY
OVERALL
#429
11
CRYPTO
#35
11
30 DAY RANKING TREND
ovr#429
·Crypt#35
STARS
8.4K
FORKS
1.7K
7D STARS
-2
7D FORKS
+1
Tags:
See Repo:
Share:

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.

Hardhat

1

Built-in Network

Includes a local Ethereum network simulation for testing and development without requiring external blockchain connections.

2

Task Runner Architecture

Provides a plugin-based task runner system that allows developers to automate and customize their development workflows.

3

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
  }
};

vhardhat@3.1.7

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
vhardhat@3.1.6

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
v@nomicfoundation/hardhat-verify@3.0.9

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


[ EXPLORE MORE ]

Related Repositories

Discover similar tools and frameworks used by developers