Skip to main content

set_up_client

Function set_up_client 

Source
pub async fn set_up_client(
    url: &str,
) -> Result<OnlineClient<SubstrateConfig>, Error>
Expand description

Sets up an OnlineClient instance for connecting to a blockchain.

ยงArguments

  • url - Endpoint of the node.