🔮
Ethereum
  • General
    • What is Ethereum
      • Ethereum & Bitcoin General Comparison
      • Singleton State
      • The Ethereum Virtual Machine (EVM)
      • Opcodes (operation codes) EVM
      • Ethereum Client
      • Forks
      • Gas (wei)
        • EIP-1559
        • Table Conversion (wei)
      • Proof of Stake (PoS)
      • Proof of Authority (PoA)
      • The Beacon Chain
      • Networks
        • Ethereum mainnet
        • Goerli
      • Account-based model & UTXO-based model
      • Externally Owned Account (EOA)
      • Node Clients
        • Geth
        • Nethermind
      • Contract Account
      • Smart Contract Upgradeability
      • Ultrasound Money
      • Merkle Trees
        • Patricia Merkle Tree
      • Tries
        • State Trie
        • Storage Trie
        • Transactions Trie
        • Receipts Trie
      • Transactions
        • Ethereum Transaction Architecture
      • World State
        • Chain of States
        • Chain of Blocks
        • Stack of Transactions / Mempool
      • Contract Creation
      • Message Call Transaction
      • P2P Network
      • Web3.js
      • Ether.js
        • Smart Contract Interaction Example
      • Web3.js vs Ether.js
      • Node Providers
      • ENS (Ethereum Name Service)
      • Web3 dapp
      • Escrow
      • Multi-signature
      • ERC-20 tokens
        • Send ERC20s to Contracts
      • NFTs
        • ERC-721 and ERC-1155
      • Solidity
        • State Variables
        • Data Location
        • Numbers
        • Modifiers
        • View & Pure Modifiers
        • Data Types
          • Modifiers
          • Modifiers (Functions)
          • Address & Address Payable
        • Hardhat
        • Payable Functions
        • Receive Function
        • Fallback Function
        • Global Variables
        • Self Destruct
        • Create2 Function
        • Revert function
        • Require function
        • Assert Function
        • Calldata
        • Interface
        • Mapping
        • Array
        • Struct
        • Inheritance
          • Virtual & Overwrite
          • Multiple inheritance
          • Hierarchical Inheritance
        • Events
          • Indexed (keyword)
          • LOG0 - LOG4
        • Multi-signature Example
        • Smart Contracts
          • Context
      • Application Binary Interface (ABI )
  • Extras
    • Terminology
      • Bytecode
      • Keccak-256
      • Turing complete
Powered by GitBook
On this page
  1. General
  2. What is Ethereum
  3. Solidity

Hardhat

PreviousAddress & Address PayableNextPayable Functions

Last updated 2 years ago

Hardhat is an Ethereum development environment that helps developers to compile, test, and deploy smart contracts. It is an open-source development environment that provides a local blockchain network for developers to test their contracts in a secure and reproducible environment. Hardhat also comes with built-in testing frameworks, debugging tools, and task automation features to make the development process more efficient. It supports both Ethereum and other EVM-compatible chains, such as Binance Smart Chain and Polygon.

One of the key features of Hardhat is its ability to automate many common development tasks, such as compiling code, deploying contracts, and running tests. This makes it easier for developers to focus on writing and testing their smart contracts, rather than spending time on manual tasks.

Hardhat also includes a built-in testing framework that makes it easy to write and run tests for smart contracts. This is an important concept in smart contract development, as it helps ensure that contracts behave as expected and can catch potential bugs before they can cause problems on the live Ethereum network.

Another important concept in Hardhat is its support for Ethereum networks, including the ability to connect to different Ethereum networks such as the mainnet, testnets, and local test networks. This allows developers to test their smart contracts in a variety of different environments and ensure that they work correctly under different conditions.

Ethereum development environment for professionalsHardhatHQ
Logo