A development environment for Ethereum software.
More information.
- List available subcommands (or create a new project if no configuration exists):
- Compile the current project and build all artifacts:
- Run a user-defined script after compiling the project:
hardhat run {path/to/script.js}
- Run all given test files:
hardhat test {path/to/file1.js} {path/to/file2.js}
- Start a local Ethereum JSON-RPC node for development:
- Start a local Ethereum JSON-RPC node with a specific hostname and port:
hardhat node --hostname {hostname} --port {port}
- Clean the cache and all artifacts:
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
CC-BY