# Genesis Block

The genesis block information of the mainnet and testnet is hard-coded in the underlying code, and the genesis block file is as follows.&#x20;

\*In order to maintain the consistency of system contracts, the code of the system contract address is hard-coded and not presented in the genesis block file.

## Definition

* Blockchain Identification: `chainId`
* Hard folk configuration: `homesteadBlock`, `eip150Block`, `eip150Hash`, `eip155Block`, `eip158Block`, `byzantiumBlock`, `constantinopleBlock`, `petersburgBlock`, `istanbulBlock`, `muirGlacierBlock`&#x20;
* Consensus parameter configuration: `dpos`
  * `period` : block interval
  * `epoch` Total blocks in an epoch
* Genesis Block Basic Information: `number`, `gasUsed`, `parentHash`, `nonce` , `timestamp` ,  `gasLimit`, `difficulty`
* `extraData` : Setup the initial validator node
* `alloc` Setup the initial account information

## Mainnet

```json
{
    "config": {
        "chainId": 36,
        "homesteadBlock": 0,
        "eip150Block": 0,
        "eip150Hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
        "eip155Block": 0,
        "eip158Block": 0,
        "byzantiumBlock": 0,
        "constantinopleBlock": 0,
        "petersburgBlock": 0,
        "istanbulBlock": 0,
        "muirGlacierBlock": 0,
        "dpos": {
            "period": 6,
            "epoch": 14400
        }
    },
    "nonce": "0x0",
    "timestamp": "0x6303a7c2",
    "extraData": "0x000000000000000000000000000000000000000000000000000000000000000063937F2Ff3c2CEAebD99d210d6368fDe8CfDBC490000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
    "gasLimit": "0x280de80",
    "difficulty": "0x1",
    "alloc": {
      "0xF28e4120bFF3b046D7CA5fB4f9415c1e0994b996": {
        "balance": "0xba4c9abddef64d2556200000"
      },
      "0x63937F2Ff3c2CEAebD99d210d6368fDe8CfDBC49": {
        "balance": "0x2116546630bbd4cf640000"
      }
    },
    "number": "0x0",
    "gasUsed": "0x0",
    "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000"
}
```

## Testnet

```json
{
    "config": {
        "chainId": 72,
        "homesteadBlock": 0,
        "eip150Block": 0,
        "eip150Hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
        "eip155Block": 0,
        "eip158Block": 0,
        "byzantiumBlock": 0,
        "constantinopleBlock": 0,
        "petersburgBlock": 0,
        "istanbulBlock": 0,
        "muirGlacierBlock": 0,
        "dpos": {
            "period": 3,
            "epoch": 28800
        }
    },
    "nonce": "0x0",
    "timestamp": "0x626791d2",
    "extraData": "0x00000000000000000000000000000000000000000000000000000000000000006885Cf202Ea39F246dc4c93bf35BbF180A82FABD0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
    "gasLimit": "0x280de80",
    "difficulty": "0x1",
    "alloc": {
        "0xa88548e97af8809afac9dc7a930650c117951059": {
            "balance": "0x50c783eb9b5c85f2a80000000"
        },
        "0x6b246a131e2c59108C841E9bc725aCad3d3Ee3f0": {
            "balance": "0x50c783eb9b5c85f2a80000000"
        },
        "0x5C5c810e02ac5c0bCf0a733027780D5Eb5BBc195": {
            "balance": "0x50c783eb9b5c85f2a80000000"
        },
        "0x61b60e805859783c4AE1B5c7BA6A77d8933c125b": {
            "balance": "0x50c783eb9b5c85f2a80000000"
        },
        "0xC1C2F2eA8052718960B28959471039C8B90Bb34F": {
            "balance": "0x50c783eb9b5c85f2a80000000"
        },
        "0x513A32afC0De7eE89CE8Dc8320B1F4535b539387": {
            "balance": "0x50c783eb9b5c85f2a80000000"
        },
        "0xd3b6db2e2FC16cB939CB174109c8ACB060F90A6D": {
            "balance": "0x50c783eb9b5c85f2a80000000"
        },
        "0xd7a53C68ad615906484A17feD3ebe298Ad389fEC": {
            "balance": "0x50c783eb9b5c85f2a80000000"
        },
        "0xC737Aaaa44399a32ba7e18222aE38A9609085142": {
            "balance": "0x50c783eb9b5c85f2a80000000"
        },
        "0x839966B579dDcac9780314C4d8A17e5d845a632C": {
            "balance": "0x50c783eb9b5c85f2a80000000"
        },
        "0x66dC74cBc72580f79bD558a98935c38ce304E92f": {
            "balance": "0x50c783eb9b5c85f2a80000000"
        },
        "0xe560A742caFfF57e4da0f37760faDC555b216fA0": {
            "balance": "0x50c783eb9b5c85f2a80000000"
        },
        "0x4567be005f55a7db76eb3be16bba497f60575df3": {
            "balance": "0x50c783eb9b5c85f2a80000000"
        },
        "0xeebc0ca41bb466f9605af5eec121c64a2162379a": {
            "balance": "0x50c783eb9b5c85f2a80000000"
        },
        "0xb60ffd1a460f31069fb1b196f562a4568a9b5528": {
            "balance": "0x50c783eb9b5c85f2a80000000"
        },
        "0xe3f3f71a8c83573ce1788945782abe95d79a0e2c": {
            "balance": "0x50c783eb9b5c85f2a80000000"
        },
        "0x4ba2e9340010d0ae2dcdbcfb24dc40e62ab8f725": {
            "balance": "0x50c783eb9b5c85f2a80000000"
        },
        "0x6885Cf202Ea39F246dc4c93bf35BbF180A82FABD": {
            "balance": "0x50c783eb9b5c85f2a80000000"
        }
    },
    "number": "0x0",
    "gasUsed": "0x0",
    "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000"
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dxchain.gitbook.io/dxchain-wiki/stake-and-trade/develop-on-dxchain/genesis-block.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
