Overview
This issue involves reviewing all event definitions within the LandRegistry smart contract and implementing an enhanced indexer service. The indexer should listen for all relevant events, capture them in real-time, and store them in a structured Postgres database. Additionally, endpoints (or GraphQL schema) should be provided to allow client applications to query the indexed event data.
Background
📜 The LandVer protocol utilizes blockchain events to manage land registration and verification. Ensuring that all events are correctly indexed and easily queryable is crucial for a robust off-chain view of on-chain transactions. This work builds upon the existing indexer service within the land-registry-indexer directory, with improvements to performance, data structure, and documentation. More details on project structure can be found in the README.
Requirements
Definition of Done
- All relevant contract events are successfully captured by the indexer and stored in Postgres 🔍
- Indexed event data is accessible via the provided query interface (endpoints or GraphQL) 🌐
- The indexer service is running in real-time and synchronizes with the blockchain events 🚀
- Outdated components from the previous indexer are removed or archived 🧹
- Updated documentation and setup scripts are available, ensuring maintainability and ease of onboarding 📖
Technical Considerations
- Ensure the Postgres schema is optimized for the data needs of LandVer’s client applications.
- Consider scalability and error handling for real-time event processing.
- Validate that the entire solution aligns with existing project architecture and deployment procedures.
Let's work together on making the background event indexing robust and maintainable! 😊
Overview
This issue involves reviewing all event definitions within the LandRegistry smart contract and implementing an enhanced indexer service. The indexer should listen for all relevant events, capture them in real-time, and store them in a structured Postgres database. Additionally, endpoints (or GraphQL schema) should be provided to allow client applications to query the indexed event data.
Background
📜 The LandVer protocol utilizes blockchain events to manage land registration and verification. Ensuring that all events are correctly indexed and easily queryable is crucial for a robust off-chain view of on-chain transactions. This work builds upon the existing indexer service within the
land-registry-indexerdirectory, with improvements to performance, data structure, and documentation. More details on project structure can be found in the README.Requirements
Event Review & Indexing
Real-time Data Synchronization
Database Storage
Query Interface
Cleanup & Documentation
Definition of Done
Technical Considerations
Let's work together on making the background event indexing robust and maintainable! 😊