Exorium Guide
  • 🟢Introduction
  • âš«Architecture
  • 🟢Governance Model
    • Treasury & Resource Allocation
    • Benefits of Decentralized Governance
    • Future Governance Enhancements
  • âš«Validator
  • 🟢Tokenomics
    • Utility & Use Cases
    • Staking & Reward Mechanisms
    • Sustainability & Growth
  • Getting Started
    • âš«Getting Started
    • 🟢Setup Exorium Network
    • âš«Consensus Engine
    • 🟢Genesis File
      • Example of a Minimal Genesis File
      • Maintenance & Version Control
    • âš«Contributing
    • 🟢Smart Contract
    • âš«ERC721
  • 🟢Roadmap
  • Staking Guide
    • Formula for APY
Powered by GitBook
On this page
  1. Getting Started
  2. Genesis File

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.

PreviousGenesis FileNextMaintenance & Version Control

Last updated 4 months ago

🟢