gsdk

Crates.iogsdk
lib.rsgsdk
version1.9.1
created_at2023-06-19 09:24:30.367058+00
updated_at2025-09-05 14:24:03.762703+00
descriptionRust SDK of the Gear network
homepagehttps://gear-tech.io
repositoryhttps://github.com/gear-tech/gear
max_upload_size
id893965
size933,761
Dmitrii Novikov (breathx)

documentation

https://docs.rs/gsdk

README

GSDK

CI docs

Rust SDK for gear network.

Example

use gsdk::signer::Signer;

#[tokio::main]
async fn main() {
    // Connect to "wss://rpc-node.gear-tech.io:443" by default.
    let signer = Api::new(None).signer("//Alice", None);

    // Transaction with block details.
    let tx = signer.transfer_keep_alive("//Bob", 42).await.expect("Transfer value failed.");

    // Fetch all of the events associated with this transaction.
    for events in tx.fetch_events().await {
        // ...
    }
}

License

GPL v3.0 with a classpath linking exception

Commit count: 3725

cargo fmt