Rust SDKs Overview
Use the Rust SDKs when you are building Rust services, CLIs, automation, or backend infrastructure on top of Thru.
Start here
Section titled “Start here”- Start with
thru-baseif you need Thru keys, addresses, transaction builders, proof helpers, or shared Rust-side types. - Use
thru-grpc-clientif 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-clientwhen you want ergonomic RPC helpers instead of raw generated service clients.
Packages
Section titled “Packages”| Package | Description | Useful when |
|---|---|---|
thru-base | Core 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-client | Generated 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-client | High-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. |