Function substrate_browser_utils::browser_configuration [−][src]
pub fn browser_configuration<G, E>(
chain_spec: GenericChainSpec<G, E>
) -> Result<Configuration, Box<dyn Error>> where
G: RuntimeGenesis + 'static,
E: Extension + 'static + Send + Sync,
Expand description
Create a service configuration from a chain spec.
This configuration contains good defaults for a browser light client.