Astro Indexer Processor App is responsible for synchronization real time data from DAO Contracts with the Database. Service depends on Astro Lake Framework.
- Receive receipt from Astro Lake Framework Redis stream.
- For each receipt call Transaction Handler to update service Database depending on method name and arguments (If needed sync required data with Near RPC).
- If receipt handling failed, store it in the Database and move to next one.
After starting microservice runs failed receipts resolving:
- Get list of failed receipts.
- For each receipt call Transaction Handler to update service Database depending on method name and arguments (If needed sync required data with Near RPC).
- Mark failed receipts as resolved.