Skip to content

feat: generate genesis - #748

Open
alxdca wants to merge 1 commit into
feat/docker-imagefrom
feat/generate-genesis
Open

feat: generate genesis#748
alxdca wants to merge 1 commit into
feat/docker-imagefrom
feat/generate-genesis

Conversation

@alxdca

@alxdca alxdca commented Sep 1, 2026

Copy link
Copy Markdown
Contributor
Depends on #711. This PR is part of a stack created with Aviator.

Summary

  • Add a generateGenesis CLI command that creates an Orbit chain genesis configuration and derives its block hash and send root with Nitro's genesis-generator.
  • Add a strict CLI schema for genesis parameters, including defaults for maximum code and init-code sizes.
  • Install @arbitrum/genesis-file-generator in the chain SDK Docker image.
  • Update the image to Nitro v3.11.3-beb2108 and a Node 24 Bookworm runtime.

Why / Context

This extends the Docker image introduced by the parent branch with the tooling required to generate chain genesis artifacts through the chain SDK CLI.

The implementation uses @arbitrum/genesis-file-generator to create the genesis configuration, then invokes Nitro's genesis-generator to calculate and validate the corresponding block hash and send root.

Genesis generation is intentionally limited to the Docker image because the required package and Nitro binary are bundled there rather than added to the published SDK dependencies.

@alxdca
alxdca force-pushed the feat/generate-genesis branch from 277188d to ce8535c Compare September 2, 2026 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant