Network selector
Last updated
Last updated
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.
Define an array with the list of networks your application supports:
Then, add this settings object to the UI initialization defined before:
You can also specify your custom icons for each of the networks: