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.
  • Reach for a higher-level wrapper such as 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.