glin-client
Network connection and RPC operations for GLIN Network.
Overview
This crate provides high-level client functionality for interacting with GLIN Network nodes:
- Connection management: Connect to GLIN Network RPC endpoints
- Account management: Create and manage blockchain accounts
- Transaction handling: Sign and submit transactions
- Event monitoring: Listen to blockchain events
- RPC operations: Query blockchain state and metadata
Usage
Add this to your Cargo.toml:
[]
= "0.1.0"
= { = "1", = ["full"] }
Example
use ;
async
Features
- Async/await support: Built on Tokio for async operations
- Type-safe: Leverages Rust's type system for safe blockchain interactions
- Error handling: Comprehensive error types with anyhow integration
- Flexible connection: Support for WebSocket RPC endpoints
Part of GLIN SDK
This crate is part of the GLIN SDK for Rust, providing complete blockchain interaction capabilities for GLIN Network.
Related Crates
glin-types- Shared type definitionsglin-contracts- Contract deployment and interaction
Documentation
For full SDK documentation and examples, see the main repository.
License
Apache-2.0