INDEXER ARCHITECTURE v2.4.0

The Engine Behind Verified Intelligence.

We don't rely on public APIs. We built a proprietary, dual-layer indexing architecture designed specifically to decode the 0G Network in real-time.

Technical Architecture

Built from the ground up to solve the specific challenges of 0G's dual-layer consensus.

Dual-Layer Sync

We run parallel services that synchronize the Staking Contract logs with CometBFT signatures, stitching together a complete network picture.

EVM LayerConsensus LayerProvider.js

Algorithmic Matching

Our matchingService uses advanced string distance algorithms to identify and link validator keys with >95% accuracy, solving the "Unknown Validator" problem.

Jaro-WinklerLevenshteinHeuristic Logic

Zero-Latency Uptime

We scan every single block header. Using optimized batch database processing, we detect missed signatures and calculate uptime instantly without sampling.

Block ScanningBatch InsertParallel Fetch

Self-Hosted Core

Powered by a high-performance local database and direct IPC connections. We have zero dependency on rate-limited public APIs.

SQLite WALLocal RPCDirect IPC

Data Integrity Pipeline

How We Verify Truth

01

We Miss Nothing

Our indexer connects directly to our full node, capturing every on-chain event—blocks, transactions, and state changes—the millisecond it happens.

02

Data Becomes Intelligence

We decode and cross-reference every metric. Raw hex data is transformed into actionable insights, like uptime percentages and validator statuses.

03

Served Instantly

The verified and enriched dataset is served to your dashboard via our optimized API. Queries that usually take seconds now take milliseconds.

Why This Matters for Stakers

A staking dashboard is only as good as its data. By controlling the entire data supply chain, we eliminate the risks of third-party failures.

Cryptographic Verification

Data comes from our node, not a cached API.

High-Frequency Updates

Real-time synchronization that processes data the instant a new block is produced.

Deep History

We store historical performance, not just the snapshot.

~ init_indexer_service

Loading modules...

Connected to Full Node (IPC)

SQLite Database: Connected

Validator Matching: Active

Listening for new blocks...