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

Websocket RPC support #110

Open
4lve opened this issue Jan 13, 2024 · 3 comments
Open

Websocket RPC support #110

4lve opened this issue Jan 13, 2024 · 3 comments

Comments

@4lve
Copy link

4lve commented Jan 13, 2024

Would be cool if websocket rpc support was added, or atleast a setting in umi.rpc.call

@4lve
Copy link
Author

4lve commented Jan 13, 2024

Found a temp fix, using

(umi.rpc as any).connection as Connection

Don't use this in production code tho as in the future the rpc is going to be rewritten.

@lorisleiva
Copy link
Collaborator

Yeah Umi current lacks a RpcSubscriptionsInterface but my plan is to add support for it when I update Umi to be compatible with the new web3.js.

Thanks for raising an issue though. I'll leave it open until there's an official solution for it.

@SS7896
Copy link

SS7896 commented Feb 4, 2024

Would be cool if websocket rpc support was added, or atleast a setting in umi.rpc.call

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

3 participants