get_provider_from_signer

Function get_provider_from_signer 

Source
pub fn get_provider_from_signer(key: &str, rpc_url: &str) -> RootProvider
Expand description

Get the provider for an http endpoint with the Wallet for the specified private key

§Returns

§Panics

  • If the provided http endpoint is not a valid URL