Skip to content

Conversation

Jason-W123
Copy link
Contributor

No description provided.

Copy link

vercel bot commented Sep 22, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
arbitrum-docs Ready Ready Preview Sep 25, 2025 11:40pm

@Jason-W123 Jason-W123 marked this pull request as draft September 22, 2025 09:25
Copy link
Contributor

@anegg0 anegg0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added front matter and made some editorial changes, primarily regarding sentence casing.
Should this be added to the sidebar and marked as open, @Jason-W123?

@@ -0,0 +1,214 @@
# Deploying Arbitrum Chains Using Genesis Configuration
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# Deploying Arbitrum Chains Using Genesis Configuration
---
title: 'Deploy your Arbitrum chain with genesis configuration'
sidebar_label: 'Deploy chain with genesis'
description: 'Learn how to deploy your Arbitrum chain using a custom genesis.json configuration file to pre-configure accounts, balances, and smart contracts'
user_story: 'As a chain operator, I want to deploy an Arbitrum chain with pre-configured accounts and contracts in the genesis block'
content_type: 'how-to'
author: 'Jason-W123'
sme: 'Jason-W123'
---
# Deploying Arbitrum Chains Using Genesis Configuration


## Overview

This guide demonstrates how to deploy an Arbitrum Orbit chain using a custom genesis.json configuration with the orbit-cli-tool and nitro's genesis generator. This approach allows you to deploy chains with pre-configured accounts, balances, and smart contracts in the genesis block.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
This guide demonstrates how to deploy an Arbitrum Orbit chain using a custom genesis.json configuration with the orbit-cli-tool and nitro's genesis generator. This approach allows you to deploy chains with pre-configured accounts, balances, and smart contracts in the genesis block.
This guide shows you how to deploy your Arbitrum chain using a custom `genesis.json` configuration with the orbit-cli-tool and Nitro's genesis generator. This approach lets you deploy chains with pre-configured accounts, balances, and smart contracts in the genesis block.

Comment on lines +15 to +19
- Node.js and npm/yarn installed
- orbit-cli-tool repository cloned and configured
- nitro repository with genesis-generator compiled (If compiling locally, follow the [official nitro build documentation](/run-arbitrum-node/nitro/build-nitro-locally))
- Docker installed (If not compiling locally)
- Custom genesis configuration requirements (accounts, balances, contracts)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Node.js and npm/yarn installed
- orbit-cli-tool repository cloned and configured
- nitro repository with genesis-generator compiled (If compiling locally, follow the [official nitro build documentation](/run-arbitrum-node/nitro/build-nitro-locally))
- Docker installed (If not compiling locally)
- Custom genesis configuration requirements (accounts, balances, contracts)
Before you begin, you'll need:
- Node.js and npm/yarn installed
- orbit-cli-tool repository cloned and configured
- Nitro repository with genesis-generator compiled (if compiling locally, follow the [official Nitro build documentation](/run-arbitrum-node/nitro/build-nitro-locally))
- Docker installed (if not compiling locally)
- Custom genesis configuration requirements (accounts, balances, contracts)

Comment on lines +21 to +23
## Step 1: Generate Genesis Configuration

This step creates a custom genesis.json file that includes your specific chain parameters, account allocations, and any pre-deployed contracts needed for your Orbit chain.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## Step 1: Generate Genesis Configuration
This step creates a custom genesis.json file that includes your specific chain parameters, account allocations, and any pre-deployed contracts needed for your Orbit chain.
## Step 1: Generate genesis configuration
This step creates a custom `genesis.json` file that includes your specific chain parameters, account allocations, and any pre-deployed contracts needed for your Arbitrum chain.

Comment on lines +25 to +31
### Setup

Navigate to your orbit-cli-tool directory and install dependencies:

```bash
cd orbit-cli-tool
npm install
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### Setup
Navigate to your orbit-cli-tool directory and install dependencies:
```bash
cd orbit-cli-tool
npm install
### Set up your environment
Navigate to your orbit-cli-tool directory and install dependencies:
```shell


**The L1 gas price used in `--initial-l1-base-fee` MUST be exactly identical to the actual gas price when deploying the rollup contracts.** Any difference will cause deployment failure.

**Important Steps**:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
**Important Steps**:
**Important steps**:

Comment on lines +149 to +153
### Deploy Rollup

Execute the rollup creation command with your genesis block hash:

```bash
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### Deploy Rollup
Execute the rollup creation command with your genesis block hash:
```bash
## Step 3: Deploy rollup contracts
The final step involves deploying the actual rollup contracts to Arbitrum Sepolia using the calculated genesis block hash.
### Deploy rollup
Execute the rollup creation command with your genesis block hash:
```shell


**⚠️ Critical Requirement**: The gas price used for the rollup deployment transaction MUST be exactly identical to the `--initial-l1-base-fee` value used when generating the genesis block hash. Any difference will cause deployment failure. If gas prices have changed at all, regenerate the genesis block hash first.

### Deployment Process
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### Deployment Process
### Deployment process

- Extract chain configuration and chain ID
- Deploy rollup contracts to Arbitrum Sepolia testnet

## Configuration Reference
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## Configuration Reference
## Configuration reference


## Configuration Reference

### Genesis Configuration Structure
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### Genesis Configuration Structure
### Genesis configuration structure

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.

2 participants