hardhat
A development environment for Ethereum software. More information: https://hardhat.org/hardhat-runner/docs/getting-started#quick-start.
- List available subcommands (or create a new project if no configuration exists):
hardhat
- Compile the current project and build all artifacts:
hardhat compile
- Run a user-defined script after compiling the project:
hardhat run
- Run Mocha tests:
hardhat test
- Run all given test files:
hardhat test
- Start a local Ethereum JSON-RPC node for development:
hardhat node
- Start a local Ethereum JSON-RPC node with a specific hostname and port:
hardhat node --hostname --port
- Clean the cache and all artifacts:
hardhat clean
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
