joshstevens19 / rindexer

A no-code blazing fast EVM indexer tool built in rust.
https://rindexer.xyz
MIT License
267 stars 24 forks source link

docs: erpc #76

Closed kasrakhosravi closed 1 month ago

kasrakhosravi commented 1 month ago

Adding eRPC as RPC proxy and caching for indexing use-cases

@joshstevens19 let me know if this makes sense to be here :)

btw, the preview feature of Vercel needs authentication

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rindexer-documentation ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 8, 2024 6:29am
joshstevens19 commented 1 month ago

great PR yes it may be easier to run "npm dev" on the docs repo locally but i have allowed this to be seen now, added a few comments thanks for PR

aramalipoor commented 1 month ago

@joshstevens19 what do you think of adding erpc in the docker-compose.yml and also a basic erpc.yaml example.

So basically the flow for users will be to add their RPC endpoints in erpc.yaml and then in reindexer only use erpc.

A fun idea is if you can "import" erpc.yaml from reindexer config, so users don't need to change anything there if they add a new network in erpc.yaml.

joshstevens19 commented 1 month ago

@joshstevens19 what do you think of adding erpc in the docker-compose.yml and also a basic erpc.yaml example.

So basically the flow for users will be to add their RPC endpoints in erpc.yaml and then in reindexer only use erpc.

A fun idea is if you can "import" erpc.yaml from reindexer config, so users don't need to change anything there if they add a new network in erpc.yaml.

what if we as you said exposed a new property in the rindexer.yaml called erpc and erpc could try to also read from an rindexer.yaml as well? this means we don't need 2 yamls firstly!

I'm not fully into making the docker have it by default though as deployments etc may get a bit odd so i think we can keep that as a manual step but just get them to add a section to the docker compose?

kasrakhosravi commented 1 month ago

@joshstevens19 let me know your thoughts about this structure

references/rpc-node-providers Screenshot 2024-08-08 at 10 58 54

start-building/yaml-config/networks Screenshot 2024-08-08 at 10 59 03

joshstevens19 commented 1 month ago

@joshstevens19 let me know your thoughts about this structure

references/rpc-node-providers Screenshot 2024-08-08 at 10 58 54

start-building/yaml-config/networks Screenshot 2024-08-08 at 10 59 03

this looks good !!

joshstevens19 commented 1 month ago

let me know if this is the final version your end looks good mine - i will then merge @kasrakhosravi @aramalipoor

kasrakhosravi commented 1 month ago

@joshstevens19 let's get this one merged in 🚀 we can later also think about an optional erpc property in rindexer.yaml if it makes sense