hardhat Verified for current stable LTS

Hardhat Command: Run User Defined Script After Compiling

Use for run user defined script after compiling with Hardhat. Exact CLI syntax to run user defined script after compiling using Hardhat.

When to use this: Use for run user defined script after compiling with Hardhat.

Command Syntax

hardhat run <path/to/script.js>

Command Breakdown

hardhat is the base executable for this command.

FAQ

Purpose: Exact syntax to run user defined script after compiling using Hardhat.

Test path: Replace placeholders and run destructive commands in a disposable workspace first.

Flag behavior: Tool version, platform, and shell can change behavior.

Improve This Command

Suggest a correction, safer default, or version-specific note for this entry.

Related Operations

Back to Hardhat directory