Support Testnet switching via UI
I gather this would require
- a write to the config
- a wallet reboot by shutting down the loaded wallet and loading up the services back in TestNet mode
developers can already use testnet by editing the network in Config.json
great, concept ACK!
FWIW, Wasabi recently changed that one wallet file can ONLY be used on ONE of the networks. For example, testnet wallet files are now ONLY in .walletwasabi/client/Wallets/TestNet/, and these wallets CANNOT be opened on MainNet / Regtest.
https://github.com/zkSNACKs/WalletWasabi/pull/4968
An alternative would be to create a separate testflight build. It's way lower effort to achieve the same results and then we don't deal with wallet re-use. It just means releases would need to be built and deployed twice.
If you can make the config loaded through IOptions and then use I Options Monitor, you can detect this change in all related services at runtime
That's an awesome suggestion @Kukks. @stealthyseal I think this is up your alley as it's a well defined atomic change and it would make a huge impact on the usability & development of the app! check out the options pattern for reference. The aforementioned Config and the neighboring UiConfig are what need to be changed, probably by extending ConfigBase