Skip to content
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

Convert Portfolio WSS to new public WSS feed #118

Open
3 tasks
NBMSacha opened this issue Dec 21, 2023 · 0 comments
Open
3 tasks

Convert Portfolio WSS to new public WSS feed #118

NBMSacha opened this issue Dec 21, 2023 · 0 comments

Comments

@NBMSacha
Copy link
Contributor

Mobula App is currently using legacy https://docs.mobula.io/api-reference/endpoint/wss-complete-data WSS complete data, which isn't a real WSS feed but just a hack to load the data faster.

I'd be much better for the user experience & for the codebase harmony to implement the new one:
https://docs.mobula.io/api-reference/endpoint/wss-portfolio

Which actually provides balances refresh thus real "real-time" data feed for the users.

Changes would be on all parts of the codebase implementing the legacy WSS - would also be great to use Mobula API SDK for the stream, which provides type safety out of the box.

Multiple things must be done on the API side first:

  • Coverage for multi-wallet & custom portfolios on WSS

  • Implementation on the API SDK

  • Adding "first-load" render to the new WSS feed (optional) to keep it as fast as it was before.

I'm opening this issue to keep track of it, but yet nothing has to be implemented on the app end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant