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 Jan 25, 2022. It is now read-only.
MetaMask has been tied to a multi-network single-transaction controller architecture for a long time, and there has been a long running initiative to get us to a place where we can support multiple networks for a long time.
What exactly this will look like has been unclear, but given the context of the plugin system, I would like to suggest a new and simple path:
Ethereum by Default, Test Networks as Plugins
We make MetaMask Controller into a one-network thing.
We bundle the network controller and the transaction controller into a shared plugin we call an "Ethereum network plugin", which can have multiple instances with different chain IDs, providers, and block explorers.
These test networks would render their assets alongside other "main net" assets.
This immediately allows connecting to a test-net via plugin, but using an app key instead of the same account per site.
We add a new permission: Permission to provide connection to [Network with Chain ID X](Replace with network name if known). This permission will forward approved transactions to this plugin for transmission to the blockchain, and will forward other RPC calls with that chain_id to that plugin.
At this point, current dapps can simply add a chain_id parameter to any call and interact with any installed EVM chain.
MetaMask has been tied to a multi-network single-transaction controller architecture for a long time, and there has been a long running initiative to get us to a place where we can support multiple networks for a long time.
What exactly this will look like has been unclear, but given the context of the plugin system, I would like to suggest a new and simple path:
Ethereum by Default, Test Networks as Plugins
Permission to provide connection to [Network with Chain ID X](Replace with network name if known). This permission will forward approved transactions to this plugin for transmission to the blockchain, and will forward other RPC calls with thatchain_idto that plugin.chain_idparameter to any call and interact with any installed EVM chain.