Skip to content

Implement indexer module, status endpoint, and add indexer_state migration#50

Merged
EmeditWeb merged 2 commits into
StepFi-app:mainfrom
khaylebfortune:feat/indexer-module
Jun 18, 2026
Merged

Implement indexer module, status endpoint, and add indexer_state migration#50
EmeditWeb merged 2 commits into
StepFi-app:mainfrom
khaylebfortune:feat/indexer-module

Conversation

@khaylebfortune

Copy link
Copy Markdown
Contributor

Closes #24

Add on-chain event indexer for StepFi contracts
Introduces a new src/indexer/ module that polls Horizon every 6 seconds to track on-chain events from StepFi contracts. Uses BullMQ for queued, idempotent event processing and persists the last processed ledger via a new indexer_state table in Supabase. The indexer starts automatically on API boot, handles all 5 contract event types, and exposes a health check at GET /indexer/status.

@EmeditWeb EmeditWeb merged commit c65d432 into StepFi-app:main Jun 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

core: build full Stellar event indexer service

2 participants