On-Chain Indexing

hub.fun implements a robust on-chain engagement indexing system designed to track, score, and verify user interactions across all community layers. This infrastructure forms the foundation for trustless incentive distribution, reputation systems, and performance-based governance.

Core Architecture

All user-generated actions—such as content posting, video uploading, commenting, reacting (likes, reposts), and token interactions—are indexed through a hybrid model combining:

  • On-chain event logs (emitted by smart contracts on EVM Chain)

  • Merkle-proofed off-chain data batches, submitted periodically via a decentralized oracle layer for cost-efficiency

Each interaction is mapped to a normalized engagement schema, stored in an engagement registry smart contract and queryable via community-specific indexes.

Verifiability & Anti-Manipulation Design

To ensure integrity, hub.fun uses:

  • Time-weighted Merkle snapshots of off-chain indexed actions

  • Sybil-resistant scoring, based on wallet age, token holding behavior, and user clustering detection

  • Immutable proof anchoring via engagement roots hashed into contract state

This architecture guarantees that only verifiable, unique, and behaviorally meaningful actions contribute to rewards or rankings.

hub.fun’s on-chain indexing model bridges user interaction with protocol logic in a fully verifiable and extensible manner—enabling decentralized social mechanics to scale securely, transparently, and autonomously.

Last updated