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:

  1. Be compliant @substrate/smoldot-discovery interface
  2. Include an rdns label starting with io.github.paritytech.SubstrateConnect
MMNEPVFCICPMFPCPTTAAATR