MetaMask / metamask-extension

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

Allow different sites to connect to different networks at the same time #3663

Open danfinlay opened 6 years ago

danfinlay commented 6 years ago

Blocked by #714.

Once we allow users to sign in to sites with a specific account per domain, we can also start allowing networks to be specified at login time.

This requires holding connections to multiple networks at once (Infura is going to love this), and so there are some serious performance issues we'll need to address. (We should either make sure we stop polling between usage, or switch some retrieval to p2p gossip before doing this).

We will explore this in more detail as #714 gains clarity.

sebandres commented 2 years ago

@danfinlay since #714 is now closed, any chance of reconsidering this to enable cross-chain applications?

piotrek-r commented 2 years ago

Just wanted to add some words of encouragement. Using multiple projects on multiple networks is very tough right now. I have a few different projects open in separate tabs. They all are on different networks. So when I use one, I set its network in my metamask. And all others get signed out. And so to use another one, I need to change the network again and obviously get disconnected from all the others. And so on. Very inefficient and annoying.

It would be great to be able to connect metamask to a tab or domain and choose a network for that.

sullof commented 1 year ago

I agree with @piotrek-r IMO, the ability to connect a domain to its specific chain is a MUST.

If you do not plan to do it, please, remove the ability of automatically trigger MetaMask to switch to a different chain because sometimes that makes people totally crazy with MetaMask popping up continuously.

danfinlay commented 1 year ago

We do plan to do it, we agree it is a must.

sullof commented 1 year ago

Great. Thanks!