Crate quilibrium
source ·Expand description
Quilibrium client library.
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?;Modules
Structs
- gRPC client for a Quilibrium node.
- Information about a peer the node knows about from the broadcasted sync info that gets replicated through the network mesh.
Enums
- Errors that can occur when interacting with a node.