Configuration that can be passed to {createScClient}.

interface Config {
    embeddedNodeConfig?: EmbeddedNodeConfig;
    forceEmbeddedNode?: boolean;
}

Properties

embeddedNodeConfig?: EmbeddedNodeConfig

Configuration to use for the embedded node. Ignored if the extension is present.

If you want to make sure that this configuration isn't ignored, use this option in conjunction with {Config.forceEmbeddedNode}.

forceEmbeddedNode?: boolean

If true, then the client will always use a node embedded within the page and never use the substrate-connect extension.

Defaults to false.

MMNEPVFCICPMFPCPTTAAATR