Returns a ScClient that connects to chains, either through the substrate-connect
extension or by executing a light client directly from JavaScript, depending on whether the
extension is installed and available.
The substrate-connect extension is identified via the @substrate/discovery protocol.
It must:
Be compliant @substrate/smoldot-discovery interface
Include an rdns label starting with io.github.paritytech.SubstrateConnect
Returns a ScClient that connects to chains, either through the substrate-connect extension or by executing a light client directly from JavaScript, depending on whether the extension is installed and available.
The substrate-connect extension is identified via the
@substrate/discovery
protocol.It must:
@substrate/smoldot-discovery
interfaceio.github.paritytech.SubstrateConnect