Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Feature: WebSocket Provider #20

Open
1 of 2 tasks
youfoundron opened this issue Feb 5, 2018 · 4 comments
Open
1 of 2 tasks

Feature: WebSocket Provider #20

youfoundron opened this issue Feb 5, 2018 · 4 comments

Comments

@youfoundron
Copy link

youfoundron commented Feb 5, 2018

Issue Type

Description

Love love love this API, so much nicer to work with than web3.js.
Really hoping to see an ethjs-provider-wss module in the near future! 😁

@SilentCicero
Copy link
Member

SilentCicero commented Feb 5, 2018 via email

@sulliwane
Copy link

the killer feature of the new web3js@1.0.0 is the support for websocket providers. But web3js@1.0.0 comes at a price, it's +100KB bigger than ethjs. Here is the result of npm run build in react project:

+web3@1.0.0.beta30 => +170.26 KB
+ethjs@0.3.3  => +62.94 KB

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 👍

@Sowmayjain
Copy link

Any updates?

@SilentCicero
Copy link
Member

SilentCicero commented Aug 6, 2018 via email

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

No branches or pull requests

4 participants