Joemar posted the following feature request related to their CashScript workshops in university/schools
Would it be possible to have an option in playground to set a custom electrum server hostname and port?
In some schools here, the outgoing port 50006 is blocked
currently always the default provider is used for each network
function changeNetwork(newNetwork: Network){
const newprovider = newNetwork == "mocknet" ?
new MockNetworkProvider({ updateUtxoSet: false }) : new ElectrumNetworkProvider(newNetwork)
setProvider(newprovider)
localStorage.setItem("network", newNetwork)
}
i'm not sure what port 50006 is used for on the electrumNetwork providers