Example of a Minimal Genesis File

Below is a short example showing how a minimal PoS-oriented genesis file might look for Exorium. Adjust parameters to match your actual chain design:

{
  "config": {
    "chainId": 7957,
    "exorPos": {
      "period": 5,
      "eBTActive": true
    },
    "istanbulBlock": 0
  },
  "nonce": "0x0",
  "timestamp": "0x5f5e100",
  "extraData": "0x0000000000000000000000000000000000000000000000000000000000000000",
  "gasLimit": "0x47E7C4",
  "difficulty": "0x1",
  "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
  "coinbase": "0x0000000000000000000000000000000000000000",
  "alloc": {
    "0xAbCdEf0000000000000000000000000000000000": {
      "balance": "0x3635C9ADC5DEA00000"
    },
    "0x1111110000000000000000000000000000000000": {
      "balance": "0xDE0B6B3A7640000"
    }
  }
}

Explanation of Key Fields:

  • config.exorPos.period: Interval (in seconds) at which new blocks (or data structures) are proposed.

  • config.exorPos.eBTActive: Indicates that Exorium Byzantine Tolerance is enabled.

  • timestamp: The Unix epoch timestamp for when this genesis block is considered valid.

  • gasLimit: The block-level gas limit (in hex).

  • alloc: Two example addresses with pre-allocated balances.

Last updated