Replies: 3 comments 2 replies
-
As a suggestion, we could parse a
and support:
|
Beta Was this translation helpful? Give feedback.
-
I'm migrating this to a discussion. Once we have the Go node in place, I will create the corresponding issue. |
Beta Was this translation helpful? Give feedback.
-
I strongly suggest supporting SQLite in an attempt to have a rollups-node in a single binary without any external dependency. This could make the adoption and deployment way easy than it is today. I know we have postgraphile and subsquid ideas to reduce the amount of code needed to make the conversion from rust to new golang codebase, and I'm assuming they are transitory. Take as an example this project: https://pocketbase.io/docs/ Download a single binary for your platform, and run Maybe this could be the future goal of the golang rollups-node. |
Beta Was this translation helpful? Give feedback.
-
📚 Context
To run the node, we need to start a PostgreSQL database. This is great for deploying the node in the cloud, but cumbersome when running it locally. It increases the startup time and the processing requirement to run the node.
✔️ Solution
Add support for SQLite as the rollups database. The indexer should store the data in SQLite, and the GraphQL server should read from it.
This should be a CLI/ENV option; the Postgres option should also exist.
📈 Subtasks
Beta Was this translation helpful? Give feedback.
All reactions