4 releases

0.2.1 Nov 28, 2023
0.2.0 Oct 29, 2023
0.1.1 Oct 14, 2023
0.1.0 Oct 14, 2023

#58 in #cli-client


Used in quilclient

MIT/Apache

6.5MB
196K SLoC

Go 196K SLoC // 0.1% comments Rust 490 SLoC // 0.0% comments

Quilibrium Client Library

Installation

cargo add quilibrium

Example usage

// Import the client
use quilibrium::NodeClient;

// Connect to your node
let mut client = NodeClient::new("http://1.2.3.4:5678".parse()?).await?;
// Fetch the peers from the node's peer store
let network_info = client.network_info().await?;

Docs

Changelog


lib.rs:

Quilibrium client library.

Example usage:

// Import the client
use quilibrium::node::NodeClient;

// Connect to your node
let mut client = NodeClient::new("http://1.2.3.4:5678".parse()?).await?;
// Fetch the peers from the node's peer store
let network_info = client.network_info().await?;

Dependencies

~9–16MB
~193K SLoC