Forrest logo
back to context overview

hardhat

List of commands for hardhat:

  • hardhat:tldr:004e9 hardhat: Clean the cache and all artifacts.
    $ hardhat clean
    try on your machine
    explain this command
  • hardhat:tldr:191e4 hardhat: List available subcommands (or create a new project if no configuration exists).
    $ hardhat
    try on your machine
    explain this command
  • hardhat:tldr:5875a hardhat: Start a local Ethereum JSON-RPC node with a specific hostname and port.
    $ hardhat node --hostname ${hostname} --port ${port}
    try on your machine
    explain this command
  • hardhat:tldr:8af57 hardhat: Compile the current project and build all artifacts.
    $ hardhat compile
    try on your machine
    explain this command
  • hardhat:tldr:a4471 hardhat: Run all given test files.
    $ hardhat test ${filename1-js} ${filename2-js}
    try on your machine
    explain this command
  • hardhat:tldr:a84f9 hardhat: Run Mocha tests.
    $ hardhat test
    try on your machine
    explain this command
  • hardhat:tldr:c7815 hardhat: Run a user-defined script after compiling the project.
    $ hardhat run ${path-to-script-js}
    try on your machine
    explain this command
  • hardhat:tldr:cb947 hardhat: Start a local Ethereum JSON-RPC node for development.
    $ hardhat node
    try on your machine
    explain this command
back to context overview