Skip to content
CCPEDIAby Unity Nodes
OPEN#922 Issue

CIP-56/ERC-20 Middleware - #453 - Milestone 3: Indexer Backend Service

Opened 21-10-2026 by pedrodneves, last activity today

Discussion
0 messages
0 people

Milestone 3: Indexer Backend Service

  • Scope:
    • Indexer Core Service (pkg/indexer/, cmd/indexer/), written in Go for stack consistency, subscribing to Canton Ledger API and processing CIP-56 token + bridge contract lifecycle events (Holding creations/archivals, TransferFactory choices, Offer events).
    • Database & Storage: PostgreSQL, optimised for real-time balance/holdings/allowance queries and immutable audit trails.
    • Deterministic Aggregation: UTXO-style holdings rolled up deterministically into total supply, per-party balance, and per-token allowance views.
    • Query API: HTTP query layer exposing balance, holdings, allowance, supply, and event queries to the JSON-RPC server and external consumers.
    • Distributed Operation: deployable per node so each operator can run its own indexer scoped to its visibility.
    • Infrastructure as Code: containerisation, Kubernetes manifests, observability.
FieldDetails
Estimated ResourcesEngineering: 14 weeks; DevOps: 1 week; Project Management: 1.5 weeks
Estimated Duration7 weeks
Amount2,500,000 CC
Acceptance Criteria 1Indexer-reported balances, holdings, allowances, and total supply reconcile with Canton ledger state for a live CIP-56 token.
Acceptance Criteria 2The indexer runs per-node scoped to operator visibility, and an EVM dapp or block explorer successfully reads token state through indexer-backed JSON-RPC responses.