[][src]Function substrate_browser_utils::browser_configuration

pub async fn browser_configuration<G, E>(
    chain_spec: GenericChainSpec<G, E>
) -> Result<Configuration, Box<dyn Error>> where
    G: RuntimeGenesis + 'static,
    E: Extension + 'static + Send

Create a service configuration from a chain spec.

This configuration contains good defaults for a browser light client.