dev
Starts a local dev environment
The dev
command starts a local dev environment - a local blockchain (Hardhat) and a local FE (Next.js) server.
Options
Option | Description |
---|---|
| Name of the network to fork; optional. By default, it starts a new chain from genesis block. (choices: "ethereum", "goerli", "polygonPos", "polygonMumbai", "polygonZkevm", "polygonZkevmTestnet") |
| Block number to fork at. By default, it's the latest block. |
| Resets the entire local blockchain when any code is changed; for forked mode, it resets back to forked block number; NOT DEFAULT. |
| Deploys only smart contracts (having started local test chain) and updates Smart contract configs for frontend; does not start frontend dev environment. |
| Deploys only frontend (having started local server); does not start local blockchain. Smart contracts data is read from pre-existing configs. To generate these manually, use |
| Sets up a chain explorer for the local test blockchain started; NOT DEFAULT; sign up at https://app.tryethernal.com/. |
| Ethernal login email; needed only if |
| Ethernal login password; needed only if |
| Ethernal workspace name; needed only if |
| Display help for command |
Help
To get help, run:
Last updated