-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Balances cache worker #254
Comments
@vikiival new worker to be built for this or extend existing one? I could use some pointers on how to implement this |
New one, if it was an extension of existing one, it would be labeled with the name of the worker
Can you please elaborate? |
Answered for now if it's a new worker 👍 |
@vikiival I just tried implementing this. At first, I thought the balances api could be called from the worker but I see cloudflare doesn't support wasm code generation needed by the polkadot api. |
Hello, i do not have answer for that |
One idea for speed-loading balances on KodaDot app is to cache it on the worker in some KV storage.
Where
<SS58(42), Balances>
Once user hits the endpoint it should refetch the balance from various RPC nodes.
The text was updated successfully, but these errors were encountered: