XGR Chain — Introduction
Current node release (2026-11-16): XGRChain v3.5.1 — official maintenance release at
723ff829d7380a29a116fd2f29c3b808ec073c0d. F-20 Direct-BLS vote-recovery durability only; no new fork, PoP migration, genesis, consensus or staking change. Dated v3.4.0/v3.5.0 sections below retain their historical source baselines. XITA service and contract versions are independent.Historical v3.5.0 consensus activation (2026-11-05): Node release at the time:
v3.5.0. The release and activation reference specifies staking BLS possession, the singlestakingBlsPoPgate, canonical genesis and automatic CLI join. Mainnet activation: 12,586,649. Detailed v3.4.0 observations below remain the prior baseline where not superseded by this update; they are not a new full audit of every subsystem.
Document ID: XGRCHAIN-INTRO
Last updated: 2026-10-27
Audience: Developers, node operators, validators, auditors, integrators
Implementation status: Mainnet
Current node release: xgr-node v3.5.1 (older v3.4.0/v3.5.0 dated source snapshots retained below)
Current release commit: 723ff829d7380a29a116fd2f29c3b808ec073c0d
Historical v3.4.0 source snapshot: cbe6f8a4ae1718429a9924dcf87f0d28591d74e1
Mainnet genesis source: xgr-network/XGR, branch main, genesis/mainnet/genesis.json
Node implementation: xgr-network/xgr-node
Scope: Public XGRChain protocol and node overview
1. What is XGRChain?
XGRChain is the EVM-compatible Layer-1 blockchain of the XGR Network.
It is an independent blockchain with its own:
- genesis configuration,
- chain ID,
- native asset,
- validator set,
- consensus configuration,
- protocol parameters,
- gas and fee model,
- staking system,
- runtime implementation,
- upgrade path.
XGRChain provides the execution and settlement layer for:
- Ethereum-compatible accounts,
- Ethereum-compatible smart contracts,
- Ethereum-compatible transactions,
- native XGR transfers,
- standard Ethereum JSON-RPC,
- deterministic IBFT finality,
- delegated PoS validator participation,
- validator self-staking,
- delegated staking,
- epoch-based validator lifecycle,
- stake- and uptime-aware voting power,
- XGR-specific protocol primitives,
- native Interchain integration.
The public node implementation is:
https://github.com/xgr-network/xgr-node
Current public node release:
v3.5.1
2. Public standalone node
xgr-node v3.5.1 is the current public standalone XGRChain node; earlier v3.4.0 implementation details below are retained as dated technical history.
Normal chain operation does not require:
xgrEngine
XDaLa application services
private engine repositories
A standard public build can be produced from the tagged release:
git clone https://github.com/xgr-network/xgr-node.git
cd xgr-node
git fetch --all --tags
git checkout v3.5.1
make -f scripts/Makefile build
The build embeds release/version metadata into the binary.
For production deployments, operators may instead use the published release binary and checksum artifacts.
3. Mainnet identity
The canonical mainnet genesis is maintained in:
Repository: xgr-network/XGR
Branch: main
Path: genesis/mainnet/genesis.json
Mainnet identity:
| Field | Value |
|---|---|
| Network name | xgrchain |
| Chain ID | 1643 |
| Chain ID hex | 0x66b |
| Native asset | XGR |
| Native decimals | 18 |
| Execution model | EVM-compatible |
| Consensus | IBFT |
| Current validator model | Delegated PoS |
| PoS activation block | 5446500 |
| Target block time | approximately 2 seconds |
| Genesis gas limit | 60,000,000 |
Mainnet transactions must be signed for:
chainId = 1643
Operators joining mainnet must use the canonical published chain configuration.
4. Current public baseline
The current public v3.4.0 node baseline provides:
| Area | Status |
|---|---|
| EVM execution | Mainnet |
| IBFT deterministic finality | Mainnet |
| Delegated PoS | Mainnet |
| Stake-weighted voting power | Mainnet |
| Uptime-weighted PoS accounting | Mainnet |
| Validator self-staking | Mainnet |
| Delegated staking | Mainnet |
| Epoch-based validator lifecycle | Mainnet |
| Standard Ethereum JSON-RPC | Mainnet |
| Public PoS monitoring RPC | Mainnet |
| Genesis/config loading | Mainnet |
| State Growth Control / Trie Sweeper | Mainnet |
| Configurable historical-state retention | Mainnet |
| Native Interchain BLS verification primitive | Mainnet |
| XGRChain ↔ Base Interchain route | Mainnet |
| Public bidirectional XGR Bridge | Mainnet |
The node software baseline and higher-level services are versioned independently.
For example:
xgr-node v3.4.0
defines the public node baseline, while Interchain routers, validator registries, security modules and relayer runtime are maintained as a separate deployment layer.
The XGRChain ↔ Base asset route is deployed in both directions, has been validated end-to-end on mainnet and is exposed through the public XGR Bridge.
Public bridge:
https://xita.xgr.network
Dynamic operational state such as route gates, pause controls, current validator membership, RPC health and relayer process state remains independent from the static node release baseline.
5. Architecture overview
At a high level, XGRChain consists of the following functional layers:
| Layer | Purpose |
|---|---|
| EVM execution | Executes transactions and smart contracts |
| IBFT consensus | Finalizes valid blocks deterministically |
| Delegated PoS | Determines validator participation and voting power |
| Networking | Connects nodes through P2P |
| JSON-RPC | Provides Ethereum-compatible application access |
| PoS RPC | Provides validator and delegation visibility |
| Configuration | Defines chain ID, genesis, forks and protocol parameters |
| Gas and fee layer | Implements XGR-specific fee behavior |
| State storage | Stores current and historical EVM state |
| Native protocol primitives | Provides XGR-specific execution capabilities |
| Interchain layer | Connects XGRChain to external networks |
These layers have distinct security and operational boundaries.
6. Execution model
XGRChain uses an Ethereum-compatible EVM execution pipeline.
For each candidate block:
- transactions are selected,
- the proposer constructs a block,
- transactions execute against the parent state,
- balances, nonces, code and storage are updated,
- logs and receipts are generated,
- gas and fees are accounted,
- a new state root is calculated,
- validators independently reproduce and verify the result,
- IBFT finality is reached when sufficient consensus voting power commits the block.
The proposer does not define canonical state unilaterally.
Every honest validator independently verifies the state transition.
7. Consensus
XGRChain uses IBFT for deterministic finality.
The current mainnet phase schedule is:
| Phase | Type | Validator type | Block range |
|---|---|---|---|
| Initial | PoA | BLS | 0–5446499 |
| Current | PoS | BLS | 5446500+ |
IBFT remains the block-finality protocol in both phases.
PoS determines:
- active validator membership,
- validator staking,
- delegation,
- voting power,
- validator-set evolution,
- epoch behavior.
8. Delegated PoS
The current validator model is delegated PoS.
It includes:
- validator self-stake,
- delegator stake,
- delegation pools,
- validator activation,
- validator deactivation,
- minimum qualification rules,
- active delegated stake,
- epoch-boundary state changes,
- stake-weighted consensus power,
- uptime-derived weighting.
Published mainnet validator-count limits:
minimum = 4
maximum = 25
Validator participation is staking-based and governed by protocol-defined eligibility, lifecycle and validator-set rules.
The normal validator qualification model distinguishes:
minimum validator self stake
from:
minimum effective total support
Detailed thresholds and lifecycle rules are documented in the staking model.
9. Voting power
During stake-weighted PoS operation, consensus voting power is not simply one vote per validator.
At a high level:
effectiveVotingPower =
votingStake
× effectiveUptimeWeight
÷ nominalUptimeWeight
Consensus quorum is determined from total voting power:
quorum =
ceil(2 × totalVotingPower / 3)
Therefore:
validator count and validator voting power are different concepts.
The PoS transition boundary contains additional deterministic cutover behavior documented in the IBFT and staking references.
10. Epoch model
Published PoS parameters:
| Parameter | Value |
|---|---|
microEpochSize |
25 |
macroEpochMicroFactor |
40 |
| Macro epoch | 1000 blocks |
microEpochInactivityDecayBps |
9000 |
microEpochNominalWeightUnits |
10000 |
Macro epoch:
25 × 40 = 1000 blocks
At the nominal two-second block target:
1000 blocks ≈ 33 minutes 20 seconds
Actual elapsed time depends on real block production.
11. EVM compatibility
XGRChain supports standard Ethereum-style execution and tooling.
Supported public transaction types include:
| Type | Code |
|---|---|
| Legacy | 0x00 |
| Access-list | 0x01 |
| Dynamic fee | 0x02 |
The node also defines the internal protocol transaction type:
StateTx = 0x7f
StateTx is used for internal system-level execution and is not a normal user-wallet transaction type.
Ordinary applications can use standard EVM transaction envelopes.
12. JSON-RPC
Registered RPC namespaces include:
eth_*
net_*
web3_*
txpool_*
bridge_*
xgr_*
debug_*
Not every registered namespace should be exposed unrestricted to public clients.
Important XGR-specific PoS methods include:
eth_getPosValidatorsOverview
eth_getPosValidatorDelegators
Native Interchain attestation methods include:
xgr_getInterchainAttestation
xgr_getILNQuorumAttestation
The public RPC interface can therefore serve:
- wallets,
- explorers,
- dApps,
- monitoring systems,
- staking dashboards,
- validator tooling,
- Interchain infrastructure.
Standard Ethereum compatibility, PoS extensions and operator interfaces are documented separately.
13. Gas and fees
XGRChain uses Ethereum-compatible fee fields but XGR-specific fee policy.
Transaction fields include:
gasPrice
maxFeePerGas
maxPriorityFeePerGas
Current public RPC suggestion behavior includes:
eth_gasPrice = current header base fee
eth_maxPriorityFeePerGas = 0
The TxPool validates transaction fee sufficiency against the base fee calculated for the next block.
During emergency congestion above the configured utilization threshold, the TxPool admission value can therefore exceed the current-header value returned by eth_gasPrice.
XGRChain additionally implements:
- configurable minimum-base-fee behavior,
- utilization-dependent emergency pricing,
- XGR-specific fee accounting,
- donation and burn components,
- immediate validator fees,
- PoS FeePool distribution.
Ethereum RPC compatibility does not imply Ethereum mainnet fee economics.
14. Native XGR protocol primitives
XGRChain extends standard EVM execution with XGR-specific native functionality.
One v3.4.0 protocol primitive is the native Interchain BLS12-381 verifier:
0x0000000000000000000000000000000000002040
This precompile verifies native XGR Interchain quorum attestations.
Because it is a native precompile:
- no EVM bytecode deployment is required at that address,
- execution is implemented directly by the node,
- it is available as part of the node execution environment.
This provides native execution support for the XGR Interchain security stack.
The precompile does not itself define:
- a bridge route,
- router deployment,
- relayer availability,
- Interchain validator membership,
- destination security policy.
Those belong to the separate Interchain layer.
15. XGR Interchain
XGR Interchain supports multiple assets and directed route instances across XGRChain (1643), Base (8453) and Arbitrum (42161). The repository records XGR representations on the hub and both spokes, and ARB collateral on Arbitrum with synthetic representations on XGRChain and Base. A manifest entry is not itself proof of current on-chain transfer readiness.
Every directed route has XGRChain at exactly one endpoint. XGRChain↔Base and XGRChain↔Arbitrum are distinct one-hop connections; Base↔Arbitrum journeys use two separately authenticated hops through XGRChain. This is not a single-route or XGR-only bridge.
The public Factory permits independent router deployments and route registration. A router has one immutable Gateway/route binding per destination domain; the hub router can bind multiple spoke domains. Parallel route instances for the same canonical asset are possible using separate router pairs. XITA's listing does not grant exclusive protocol admission.
Each message is authenticated with Direct-BLS, binding its original source evidence, route, fee and current destination set. XITADirectTransport uses a Mailbox and a zero-fee ProtocolFee dispatch hook. The retained dispatchHook field is not a MerkleTreeHook; it stores no message leaves and supplies no Merkle proof. Native chain state/receipt tries are unrelated.
The managed relayer is optional. Any executor can submit valid destination Mailbox.process calldata and pay destination gas. The public recovery helper prepares that calldata without signing keys or company permission. Source fees, principal/allowance, chain access and eligible validator quorum remain required.
- Detailed multi-asset architecture
- Exact security model and signed payload
- Transfer without managed relayer: complete procedure
- Validator CLI and JSON-RPC
- Deployment and route inventory
16. Consensus validators vs Interchain validators
These are related but separate roles.
XGRChain consensus validator
Participates in:
- IBFT,
- block production,
- block finality,
- delegated PoS,
- stake- and uptime-weighted consensus voting power.
XGR Interchain validator
Participates in:
- destination-specific Interchain membership,
- per-message Direct-BLS attestation,
- BLS aggregate signatures,
- Interchain quorum.
An Interchain validator does not automatically receive additional XGRChain consensus authority.
Likewise, a consensus validator is not automatically part of every Interchain validator set.
The current native Interchain quorum uses separate quorum semantics from weighted XGRChain IBFT consensus.
Therefore:
XGRChain consensus voting power
≠
Interchain attestation voting weight
Detailed security semantics are documented in:
docs/interchain/XGR_INTERCHAIN_Security_Model.md
17. State storage
XGRChain stores EVM state in an immutable, content-addressed trie.
Historical state can consume substantial disk space over time.
Starting with:
xgr-node v2.1.0
the node includes State Growth Control through the Online State Trie Sweeper.
This feature remains available in:
v3.4.0
18. State Growth Control
The Online State Trie Sweeper allows operators to retain a configurable window of recent canonical state roots and reclaim unreachable historical trie and contract-code data.
Default settings:
| Setting | Default |
|---|---|
| Sweeper | Disabled |
| Retention | 10,000 blocks |
| Interval | 6h |
CLI controls:
--trie-sweeper
--trie-sweeper-retain-blocks
--trie-sweeper-interval
The sweeper is a local storage feature.
It does not change:
- consensus,
- canonical state roots,
- transaction validity,
- genesis,
- validator selection,
- staking.
19. Historical-state implications
Trie pruning affects historical EVM state.
It does not remove normal canonical block history such as:
- block headers,
- block bodies,
- transactions,
- receipts,
- logs.
However, sufficiently old state-dependent requests may no longer be available on a pruned node.
Examples include historical:
eth_getBalance
eth_getTransactionCount
eth_getCode
eth_getStorageAt
eth_call
eth_estimateGas
debug_trace*
Archive-style nodes requiring unrestricted historical-state access should keep the Trie Sweeper disabled or use a retention policy suitable for that workload.
Detailed behavior is documented in:
XGRCHAIN_State_Storage_and_Retention.md
20. Node roles
Typical XGRChain node roles include:
Full node
- follows the canonical chain,
- validates blocks,
- maintains state,
- participates in P2P,
- does not produce blocks.
Typical configuration:
--seal=false
RPC node
- performs full-node duties,
- additionally serves application RPC,
- should normally be separated from validator infrastructure.
Validator
- maintains chain state,
- participates in IBFT,
- signs consensus messages,
- requires validator signing material.
Validator operation uses:
--seal=true
Archive-style node
- preserves historical state for long-term state queries,
- typically runs without state trie pruning.
21. Networking
Nodes communicate through XGRChain's peer-to-peer network.
Networking provides:
- peer discovery,
- transaction propagation,
- block propagation,
- synchronization,
- consensus messaging.
Bootnodes assist initial peer discovery.
They do not grant validator or transaction authority.
22. Configuration boundaries
XGRChain distinguishes three major configuration domains.
Chain configuration
Defines:
- chain ID,
- genesis,
- consensus,
- PoS activation,
- fork schedule,
- protocol addresses.
Node runtime configuration
Defines:
- data directory,
- RPC bind addresses,
- P2P interfaces,
- logging,
- metrics,
- sealing,
- Trie Sweeper,
- local state retention.
External-service configuration
Defines systems such as:
- Interchain relayers,
- remote-chain RPCs,
- router deployments,
- security modules,
- operational monitoring services.
These configuration domains must not be conflated.
23. Access-control boundaries
XGRChain security spans multiple independent layers:
- infrastructure access,
- P2P connectivity,
- RPC exposure,
- transaction validation,
- TxPool admission,
- validator authority,
- smart-contract authorization,
- external-service credentials.
For example:
a public RPC user is not a validator.
Likewise:
an Interchain relayer account is not a consensus validator.
The main authority domains include:
user wallet authority
XGRChain consensus authority
XGR Interchain BLS authority
relayer transaction-submission authority
contract administration authority
These must not be treated as interchangeable.
Permission boundaries are documented in:
XGRCHAIN_Access_Control_and_Permission_Boundaries.md
Interchain-specific authority boundaries are documented in:
../interchain/XGR_INTERCHAIN_Security_Model.md
24. XGRChain and XDaLa
XGRChain is the blockchain substrate.
XDaLa is a higher-level execution and process framework built on XGR infrastructure.
XGRChain itself provides:
- execution,
- consensus,
- finality,
- state,
- RPC,
- staking,
- protocol primitives.
XDaLa provides separate application and process capabilities.
XDaLa functionality is deployed on XGRChain mainnet.
A standard public XGRChain node does not need to run the complete XDaLa service stack.
25. Documentation structure
The Chain documentation is divided into specialized references.
Current documents include:
XGRCHAIN_Introduction.md
XGRCHAIN_Chain_Spec.md
XGRCHAIN_Consensus_IBFT.md
XGRCHAIN_Genesis_and_Configuration.md
XGRCHAIN_Node_Operation.md
XGRCHAIN_Networking_P2P.md
XGRCHAIN_Ethereum_JSON_RPC_Reference.md
XGRCHAIN_Node_Operator_RPC_Reference.md
XGRCHAIN_Staking_PoS_Model.md
XGRCHAIN_Staking_PoS_Endpoint_Reference.md
XGRCHAIN_State_Storage_and_Retention.md
XGRCHAIN_Access_Control_and_Permission_Boundaries.md
XGRCHAIN_Network_Upgrade_and_Hardfork_Process.md
XRC-GAS_Gas_Price_Behavior.md
Public Interchain specifications are maintained in:
docs/interchain/
Current Interchain documents include:
XGR_INTERCHAIN_Overview.md
XGR_INTERCHAIN_Security_Model.md
XGR_INTERCHAIN_Asset_Bridge.md
XGR_INTERCHAIN_Deployment_Reference.md
Implementation-specific Interchain contracts, deployment manifests, relayer runtime and operator documentation are maintained separately in:
xgr-network/xgr-interchain
26. Source-of-truth hierarchy
For network-defining behavior, the source-of-truth order is:
- active compatible node implementation,
- canonical published mainnet configuration,
- deployed protocol state where applicable,
- current technical documentation.
For XGR Interchain, additional implementation and runtime sources are:
xgr-network/xgr-interchain
live deployed Interchain contracts
live relayer runtime state
Documentation must describe the actual implementation and network state.
It must not invent protocol behavior that is not supported by the active release or deployment.
Static documentation must not override live operational state when current availability is being evaluated.
27. Update triggers
This document must be reviewed when any of the following changes:
- public node release,
- mainnet genesis,
- chain ID,
- consensus behavior,
- PoS behavior,
- validator lifecycle,
- voting-power logic,
- epoch configuration,
- Ethereum RPC behavior,
- gas or fee behavior,
- native protocol precompiles,
- state-retention behavior,
- Interchain architecture,
- public Interchain deployment,
- node build requirements.
Current documentation baseline:
xgr-node v3.4.0
Canonical network configuration:
xgr-network/XGR
genesis/mainnet/genesis.json
Canonical public Interchain specifications:
xgr-network/XGR
docs/interchain/
Canonical Interchain implementation:
xgr-network/xgr-interchain
28. Summary
| Topic | Current XGRChain behavior |
|---|---|
| Implementation status | Mainnet |
| Public node | xgr-node v3.4.0 |
| Chain ID | 1643 |
| Native asset | XGR |
| EVM compatibility | Mainnet |
| IBFT finality | Mainnet |
| Delegated PoS | Mainnet |
| PoS activation | block 5446500 |
| Validator limits | 4–25 |
| Stake-weighted consensus | Mainnet |
| Uptime weighting | Mainnet |
| Block target | approximately 2 seconds |
| Standard Ethereum RPC | Mainnet |
| PoS monitoring RPC | Mainnet |
| Trie Sweeper | Mainnet |
| Default state retention when enabled | 10,000 blocks |
| Native Interchain BLS precompile | 0x2040 |
| XGRChain ↔ Base route | Mainnet |
| Bidirectional asset transfer | Mainnet validated |
| Public XGR Bridge | Mainnet |
| Public node dependency on XDaLa | None |
XGRChain is a standalone EVM-compatible Layer-1 with deterministic IBFT finality, delegated PoS, configurable state retention and native protocol support for the XGR Interchain stack.
The current production Interchain route connects native XGR on XGRChain with wXGR on Base through a bidirectional mainnet bridge secured by XGR-native BLS-verified Interchain infrastructure.