ArkadeInfo.network is a plain string on the wire, so every consumer that
wanted a Network from it was writing the same unchecked narrowing. This
owns it once: getNetwork fails closed on a name it does not know, so
an unrecognized server network throws here rather than silently resolving to
mainnet parameters downstream.
Structurally typed rather than importing ArkadeInfo, which would make the
network table depend on the provider layer.
The Network an Arkade server's info names.
ArkadeInfo.networkis a plain string on the wire, so every consumer that wanted aNetworkfrom it was writing the same unchecked narrowing. This owns it once: getNetwork fails closed on a name it does not know, so an unrecognized server network throws here rather than silently resolving to mainnet parameters downstream.Structurally typed rather than importing
ArkadeInfo, which would make the network table depend on the provider layer.