hardhat Command Examples

A development environment for Ethereum software. More information: https://hardhat.org.

hardhat

hardhat compile

hardhat run {{path/to/script.js}}

hardhat test

hardhat test {{path/to/file1.js}} {{path/to/file2.js}}

hardhat node

hardhat node --hostname {{hostname}} --port {{port}}

hardhat clean