Network selector

Network selector widget

If your application can switch between Mainnet and Testnet networks you may want to add the network selector widget to the CSPR.click navigation bar.

Network selector set up

Define an array with the list of networks your application supports:

Then, add this settings object to the UI initialization defined before:

Customize the network icons

You can also specify your custom icons for each of the networks:

Last updated