MetaMask / core

This monorepo is a collection of packages used across multiple MetaMask clients
MIT License
290 stars 187 forks source link

Migrate network configuration into NetworkController #969

Closed Gudahtt closed 1 year ago

Gudahtt commented 1 year ago

The network configuration is currently stored in the PreferencesController. We should migrate it to the NetworkController instead. The network controller is a more sensible place for managing network config, and this will make multi-network support easier to manage (it needs to know which networks exist in config to manage active network connections).

mcmire commented 1 year ago

Rough plan: