![Forrest logo](/images/logo.png)
hardhat:tldr:5875a
The command hardhat node
is used to run a local Ethereum network using the Hardhat development environment for Ethereum smart contract development.
The --hostname
flag is used to specify the hostname or IP address for the node. In this case, ${hostname}
is a variable that needs to be replaced with an actual hostname or IP address.
The --port
flag is used to specify the port number for the node to listen on. Similarly, ${port}
is a variable that needs to be replaced with an actual port number.
Therefore, the command hardhat node --hostname ${hostname} --port ${port}
is used to start a local Ethereum node with the specified hostname and port number. Make sure to replace ${hostname}
and ${port}
with the appropriate values for your specific setup.