cosmos-cache
cosmos-cache copied to clipboard
Caches Cosmos RPC/API calls for configurable periods of time
Example of basic Sei RPC page (customized by Sei): https://sei-rpc.lavenderfive.com/ When trying to access the Cosmos Cache version, there is an "Internal Server Error": https://sei-rpc-cached.lavenderfive.com/ The sub pages work just...
Ex: https://github.com/DA0-DA0/rpc-cache-cf-worker/tree/main
Closes #27 Closes #38 Multithreaded go binary while sharing the cache across threads/routines + combining RPC and REST into 1 endpoint.
normal url for standard (machine) fail over to akash, fails `asdnokasnodjkasjniod.dns.com`
Hit endpoints with configurable data (status, abci_query, etc) on the RPC curl, python, TS, go - what ever is easiest dockerize it can then launch on akash with like 20...
Iterate each in order of request array, pair to return values (which comes back in the same array order)
webhooks, given a list of endpoints (normal server + cache) query, check, on timeout / error post
Could be cool based off user requests - On load, get all possible REST endpoints via the openapi. Use * regex for any `{ }` areas - if user requests...