feat: add event indexer service for PrivacyLayer contracts#147
Open
HuiNeng6 wants to merge 1 commit intoANAVHEOBA:mainfrom
Open
feat: add event indexer service for PrivacyLayer contracts#147HuiNeng6 wants to merge 1 commit intoANAVHEOBA:mainfrom
HuiNeng6 wants to merge 1 commit intoANAVHEOBA:mainfrom
Conversation
Implements ANAVHEOBA#63 - Contract Events Indexer Features: - Real-time event indexing via Soroban RPC - PostgreSQL storage with Prisma ORM - GraphQL API for querying events - WebSocket subscriptions for real-time updates - Support for all contract events (Deposit, Withdraw, PoolPaused, PoolUnpaused, VkUpdated) - Merkle tree state tracking - Docker deployment support Technical stack: - TypeScript/Node.js - Apollo Server (GraphQL) - Prisma (PostgreSQL ORM) - soroban-client (Stellar SDK)
Author
|
📢 Follow-up — Ready for Review (24+ Hours) This Event Indexer Service PR is ready for review. Implementation Complete: Looking forward to your review! 🙏 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements #63 - Contract Events Indexer
This PR adds a comprehensive event indexer service for the PrivacyLayer smart contract, enabling efficient querying and real-time monitoring of all contract events.
Features
Event Indexing
Storage
GraphQL API
Deployment
Technical Stack
Example Usage
Query Recent Deposits:
Subscribe to New Deposits:
Check if Commitment is Used:
Setup
Files Added
This implementation provides a solid foundation for off-chain event indexing that can be used by the SDK, frontend, and external integrations.