Metamask-extension: Add websocket support

Created on 21 Jun 2017  路  5Comments  路  Source: MetaMask/metamask-extension

Create a branch to work with Infura Websocket support.

Our websocket provider would not need to handle filters client side.

Won't need client-side filter management in the short term, for experimenting with.

L04-backencore T01-enhancement

Most helpful comment

Raising priority because it will allow a tighter integration with ganache to detect provider changes. #1999.

All 5 comments

Raising priority because it will allow a tighter integration with ganache to detect provider changes. #1999.

@danfinlay @kumavis i've converted this to an epic to reflect what we discussed this morning. please rename & add/remove stories as necessary - not sure if this is to be framed as websocket support, subscription support, or general web3 1.0 support since they seem quite interrelated

relates to #4279

So, websocket connections aren't yet supported in Metamask, correct?
I'm currently using a websocket RPC connection (readonly) in some Dapps, in parallel to the Metamask provided connection, in order to have the UI react faster to on-chain changes.

From this issue, it's not clear to me if websocket support is to be expected anytime soon. That would help me decide if I should treat the extra code for that workaround as temporary, or if I should be prepared to live with it for a bit longer and thus give it some more love.

It is not yet supported, and it isn't one of our top priorities at the moment, so I would expect to live with other approaches for a bit longer, sorry!

Was this page helpful?
0 / 5 - 0 ratings