Skip to content

Rust SDKs Overview

View as Markdown

Use the Rust SDKs when you are building Rust services, CLIs, automation, or backend infrastructure on top of Thru.

  • Start with thru-base if you need Thru keys, addresses, transaction builders, proof helpers, or shared Rust-side types.
  • Use thru-grpc-client if you want the generated tonic and prost bindings for the public Thru gRPC services.
  • Writing an on-chain program instead of a host-side service? Use the Rust Program SDK.
  • Reach for thru-client when you want ergonomic RPC helpers instead of raw generated service clients.
PackageDescriptionUseful when
thru-baseCore Rust primitives for Thru, including key and address types, transaction builders, state proof helpers, and RPC config types.Building transactions, deriving program addresses, validating Thru addresses, or working with state proofs in Rust services and tooling.
thru-grpc-clientGenerated tonic and prost bindings for the Thru public gRPC surface.Calling Query, Command, Debug, or Streaming services directly from Rust while staying close to the wire format.
thru-clientHigh-level gRPC client with typed helpers for accounts, transactions, streaming confirmations, proofs, and node status.Querying chain data or submitting signed transactions from Rust services without assembling raw tonic channels and request types.