Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement NetworksStore #17177

Open
dlipicar opened this issue Jan 30, 2025 · 0 comments
Open

Implement NetworksStore #17177

dlipicar opened this issue Jan 30, 2025 · 0 comments
Assignees

Comments

@dlipicar
Copy link
Contributor

There's two lists of networks used across the app

  • All Networks (used in the network settings screen or to extract some piece of network-related info for some asset that lives on it)
  • "Filtered" Networks list. Includes only the networks currently active (testnet/mainnet mode + isActive setting). Used everywhere we allow the user to select a network from a list (community tokens minting, send/swap/bridge modals, balances, activity, etc.

The 2nd list is generated in several different places, which is error prone. We should probably have a NetworksStore where both are available, and components should just take one (or both) where needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant