Alternative data sources to RPC
Hey,
Did you consider alternative data sources to RPC? What do you think about something like this: https://github.com/enviodev/hypersync-client-rust ?
I am working on hypersync so this is a bit of a shill but It is genuinely a massive upgrade compared to RPC on indexing cases like rindexer
Hey JSONRPC was the first release but as explained here https://rindexer.xyz/docs/introduction/what-is-rindexer#future-vision-for-rindexer we want rindexer to not care how the data is synced so for sure want to add many different data sources so would be open to seeing how we could make rindexer hypersync compatible and then editable in the yaml..?
Hey JSONRPC was the first release but as explained here https://rindexer.xyz/docs/introduction/what-is-rindexer#future-vision-for-rindexer we want rindexer to not care how the data is synced so for sure want to add many different data sources so would be open to seeing how we could make rindexer hypersync compatible and then editable in the yaml..?
sounds good! I can implement hypersync as a source if you can ping me when code is ready on the indexer side. Think it can boost the performance a lot
guess just need to make this a trait? https://github.com/joshstevens19/rindexer/blob/a43544eaea6735acd2f64e5f94c1b4910fc8e41b/core/src/provider.rs#L101
I can work on converting it into a trait as well if it makes sense. Don't want to distrupt your flow though if you plan to change other things
I am happy to accept a PR for this for sure, way better for you to do then me as you are building the hypersync lol you know way more then me on it.
If its a hyperscan url in the yaml use the hyperscan provider - go for it 💪 shout if you need any help
Would be happy to add SQD as an alternative data source too!
if its as simple as adding this trait and calling via jsonrpc as per the hyperscan URL then sounds good to me would accept a PR @dzhelezov
Someone has submitted a hypersync draft https://github.com/joshstevens19/rindexer/pull/103
Someone has submitted a hypersync draft https://github.com/joshstevens19/rindexer/pull/103
To clarify Misha is in hypersync team so the implementation is "official" by envio