Indexer Architecture
The CRYMBO Indexer is a scalable, event-driven data layer that listens to smart contract activity across all supported blockchains. It transforms raw event logs into structured, queryable compliance metadata.
🔧 Components​
1. Event Listeners​
- Node-based microservices watching blockchain events
- Parse logs from the CRYMBO Oracle contract (e.g.
PIIRequested
,PIIReceived
,Validated
)
2. Normalization Engine​
- Converts logs into standard schema
- Tags identity types, scores, tx sources, wallet roles
3. Multichain Pipeline​
- Per-chain indexers aggregate and push data to a common API
- Supports EVM chains via Web3.js/ethers.js, and non-EVM via adapters
4. Compliance Registry (DB)​
- Stores structured records:
- Transaction hash
- Network
- Wallet IDs (sender/receiver)
- Encrypted payload hash
- Validator score(s)
- Timestamps + status
📤 Output​
All indexed data is exposed via a unified REST/GraphQL API and supports:
- Compliance dashboards
- Explorer overlays
- Webhooks for tx status updates
- AI field suggestion learning inputs
📌 Next: Integration Options