Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[core] Network switch component

See original GitHub issue


We should have a network switch similar to the one seen at Uniswap that lets people easily switch between networks.

This network switch component should automatically send a network change request to the users’ wallet when they click on an option from the dropdown.

Why is this needed?

Different web3 apps run on different networks so it is convenient to display the current network to the user and letting them easily switch to the correct one.

Proposed Solution or API

import { NETWORKS, NetworkSwitch } from '@web3-ui/core';

const { mainnet, rinkeby, ropsten, polygon } = NETWORKS;

<NetworkSwitch networks=[mainnet, rinkeby, ropsten, polygon] />

Additional Information

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

SouravInsightscommented, Feb 17, 2022

No worries, I’ll take up something else. 😃

swellandercommented, Feb 7, 2022

I can take this one

Read more comments on GitHub >

github_iconTop Results From Across the Web

Network Switch Components and Functions Wiki
What Are the Network Switch Components? ; CPU PCBA, The x86 or Power PC or ARM based processors that has it's RAM, FLASH...
Read more >
Core Switches, Distribution Switches, and Access ... - Versitron
A core switch is the network switch installed at the backbone of the layered or hierarchy network. These data switches are responsible for...
Read more >
Core Ethernet Switches - CommScope
ICX Core switches ... Traditional enterprise networks were architected to utilize chassis systems to deliver reliable, high-speed, and scalable routing ...
Read more >
What is a Core Switch? - Definition from Techopedia
A core switch is a high-capacity switch generally positioned within the backbone or physical core of a network. Core switches serve as the ......
Read more >
Switch Architecture: Definition & Components |
Components of a Switch · Central Processing Unit · Replication Engine · Forwarding Engine · Switch Fabric · Controllers and Buffers · ROM...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found