MetaMask / metamask-extension

:globe_with_meridians: :electric_plug: The MetaMask browser extension enables browsing Ethereum blockchain enabled websites
https://metamask.io
Other
11.7k stars 4.79k forks source link

On/Off toggle to shut off network traffic #6194

Open steerio opened 5 years ago

steerio commented 5 years ago

Problem

As part of its normal operation, Metamask makes a large amount of requests, at least one per second, even when it's not in active use. This raises the following concerns:

One can always go to the browser settings and disable/enable the plugin, but it's a hassle, reenabling the plugin requires a login, and so on.

Proposed solution

An on/off button in the header of the main MetaMask popup would allow users to quickly enable/disable the plugin.

Alternatives

Further ideas

bdresser commented 5 years ago

@steerio thanks for the feedback. We're putting lots of effort in to reducing our unnecessary traffic to Infura with the end goal of being network silent when the extension is idling. The most recent change (https://github.com/MetaMask/metamask-extension/pull/6124) is at 5% and rolling out slowly over the course of the week.

Ideally you won't have to turn off MetaMask because it will only make requests when necessary. Thanks for your patience, will leave this open for now in case other users want to chime in.

cc @frankiebee