You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to run a local devnet for development, but the documentation is unclear how to it.
Looking around, I managed to find this document, that seems to come from a thundercore, but was unable to reproduce the steps.
At the same time, I have seen some older issues comment that such options doesn't exist, while others have used the --chain=dev, which gives me the error bellow:
$ erigon --chain=dev --datadir=./dev --http.api eth,erigon,trace,ots --fakepow
INFO[01-27|11:11:10.840] logging to file system log dir=dev/logs file prefix=erigon log level=info json=false
INFO[01-27|11:11:10.842] kernel detected version=6.6.87.2-microsoft-standard-WSL2
...other lines...
NFO[01-27|11:11:10.843] Starting Erigon in ephemeral dev mode...
INFO[01-27|11:11:10.847] Maximum peer count total=32
INFO[01-27|11:11:10.847] Development chain flags set --nodiscover=true --v5disc=false --port=:0
INFO[01-27|11:11:10.848] starting HTTP APIs port=8545 APIs=eth,erigon,trace,ots http.compression=true
Fatal: chain name is not recognized: dev
Is there a devnet mode like geth's --dev? Is there a plan for such a mode? Is there a way to run a one node private chain?
Activity
yperbasis commentedon Feb 10, 2026
Unfortunately, we broke the devnet mode in v3.3.0. There's Issue #14753 to restore the functionality, but it's not top priority a.t.m.