You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 14, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 14, 2021. It is now read-only.
the killer feature of the new [email protected] is the support for websocket providers. But [email protected] comes at a price, it's +100KB bigger than ethjs. Here is the result of npm run build in react project:
Given that Infura just recenlty added support for websocket => wss://rinkeby.infura.io/ws, we could now enjoy:
1- Enable use of filters eth_newFilter (available on infura websocket only)
2- Reduce network traffic when watching events (ws VS http polling)
Please upvote this issue to show your interest in a ws provider for ethjs 👍
Reacted by Sindélio Henrique Lima, coinsandsteeldev, Mason Fischer, Lib, Junichi Sugiura, decodedbrain, Sulliwane, Hakeem Orewole and Paul Pham
The websockets provider requires a lot of management, I would need to think about the API more. It might be that we just do a separate socket lib for now, which falls back on rpc under failure.
On Aug 6, 2018, at 10:49 AM, Sowmay Jain ***@***.***> wrote:
Any updates?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
Issue Type
Description
Love love love this API, so much nicer to work with than web3.js.
Really hoping to see an
ethjs-provider-wssmodule in the near future! 😁