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.
When curl_mode is true, the provider will print equivalent curl commands
to stdout instead of executing RPC requests.