Skip to main content

get_provider_builder

Function get_provider_builder 

Source
pub fn get_provider_builder(
    config: &Config,
    curl_mode: bool,
) -> Result<ProviderBuilder>
Expand description

Returns a [ProviderBuilder] instantiated using [Config] values.

Defaults to http://localhost:8545 and Mainnet.