apibara / dna

Apibara is the fastest platform to build production-grade indexers that connect onchain data to web2 services.
https://www.apibara.com/
Apache License 2.0
166 stars 26 forks source link

Persist state to MongoDB #333

Open fracek opened 4 months ago

fracek commented 4 months ago

Is your feature request related to a problem? Please describe.

Users that want to sync onchain data to MongoDB may want to use the same database to persist the indexer's state.

Describe the solution you'd like

We should add a --persist-to-mongo option to persist data to a specific mongodb database, in the _indexers collection.