Priority
P2
Difficulty
Advanced
Task
Create a Stellar event indexing service that can sync Stellar activity into MongoDB for dashboards.
Suggested file
lib/stellar/indexer.ts
Expected behavior
The service should:
- read from Stellar network sources through the client helper
- support cursor or checkpoint storage
- store idempotency keys
- map events to ChainMove records
- avoid duplicate processing
Acceptance criteria
Test requirement
Add tests for first sync, repeated sync with same cursor, duplicate event handling, failed upstream request, and mock event mapping.
Evidence required
Commands
npm run lint
npm run typecheck --if-present
npm run build
Priority
P2
Difficulty
Advanced
Task
Create a Stellar event indexing service that can sync Stellar activity into MongoDB for dashboards.
Suggested file
lib/stellar/indexer.tsExpected behavior
The service should:
Acceptance criteria
Test requirement
Add tests for first sync, repeated sync with same cursor, duplicate event handling, failed upstream request, and mock event mapping.
Evidence required
Commands