Skip to content

How to run a devnet? #18827

Closed
Closed

Description

@human-77

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?

Any help is welcome.

Activity

  1. yperbasis commented on Feb 10, 2026

    @yperbasis
    Member

    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.

  2. locked and limited conversation to collaborators on Feb 10, 2026
  3. converted this issue into a discussion #19075 on Feb 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions