hardhat
Verified for current stable LTS
Hardhat Commands
Hardhat command syntax with verified terminal examples.
Commands
8 commands for Hardhat
hardhat Operations
Hardhat Command: List Available Subcommands Or Create New Project
hardhat hardhat Operations
Hardhat Command: Compile Current Project And Build Artifacts
hardhat compile hardhat Operations
Hardhat Command: Run User Defined Script After Compiling
hardhat run <path/to/script.js> hardhat Operations
Hardhat Command: Run Mocha Tests
hardhat test hardhat Operations
Hardhat Command: Run All Given Test Files
hardhat test <path/to/file1.js path/to/file2.js ...> hardhat HTTP
Hardhat Command: Start Local Ethereum Json Rpc Node For Development
hardhat node hardhat HTTP
Hardhat Command: Start Local Ethereum Json Rpc Node With Specific Hostname And Port
hardhat node --hostname <hostname> --port <port> hardhat Operations
Hardhat Command: Clean Cache And All Artifacts
hardhat clean Suggest a Hardhat Command
Submit missing workflows, corrections, or verified alternatives for this tool.
FAQ
Coverage: Focused examples for common Hardhat workflows.
Verified version: current stable LTS.
Verification: Test commands in a disposable workspace and submit notes for edge cases.