pub fn with_http_client(
        rpc_address: &str,
        signer: Signer<S>,
    ) -> Result<Wallet<S, Client<L2>>, ClientError> {
        let rpc_address = rpc_address
            .parse()
            .map_err(|err| ClientError::NetworkError(format!("error parsing RPC url: {err}")))?;
        let client = Client::http(rpc_address)
            .map_err(|err| ClientError::NetworkError(err.to_string()))?
            .for_network(signer.chain_id.into())
            .report_config(false)
            .build();

        Ok(Wallet {
            provider: client,
            signer,
        })
    }
Creates new wallet with an HTTP client.

# Panics

Panics if the provided network is not supported.
core/tests/loadnext/src/sdk/wallet.rs