@belopash/typeorm-store is a fork of
@subsquid/typeorm-store that automates collecting read and write database requests into batches and caches the available entity records in RAM. See this repository for a minimal example.
- SQLite, PostgreSQL and TimescaleDB data sinks
- GraphQL APIs based on Hasura
Development workflow uses the
dipdup tool to generate a stub project. Once done with that, all you have to do is to define the data schema and the handlers. Take a look at their quickstart for more details.
With its handler-based architecture and the choice of Python as the transform logic language, DipDup is easier to develop for than Squid SDK, but has higher requirements on database IO bandwith and CPU. The IO bandwidth issue is partially solved by DipDup's caching layer used for database access.