create_client

Function create_client 

Source
pub async fn create_client(rpc_url: &str) -> Result<GlinClient>
Expand description

Create a client connection to GLIN network

ยงExample

use glin_client::create_client;

#[tokio::main]
async fn main() -> anyhow::Result<()> {
    let client = create_client("wss://testnet.glin.ai").await?;
    Ok(())
}