1 stable release
| 3.2.3 | Dec 5, 2025 |
|---|---|
| 3.2.2 |
|
| 3.1.1 |
|
#51 in #on-chain-programs
545KB
11K
SLoC
Trezoa SDK
Use the Trezoa SDK Crate to write client side applications in Rust. If writing on-chain programs, use the Trezoa Program Crate instead.
More information about Trezoa is available in the Trezoa documentation.
The Trezoa Program Library provides examples of how to use this crate.
Still have questions? Ask us on Stack Exchange
lib.rs:
The Trezoa host and client SDK.
This is the base library for all off-chain programs that interact with
Trezoa or otherwise operate on Trezoa data structures. On-chain programs
instead use the trezoa-program crate, the modules of which are
re-exported by this crate, like the relationship between the Rust
core and std crates. As much of the functionality of this crate is
provided by trezoa-program, see that crate's documentation for an
overview.
Many of the modules in this crate are primarily of use to the Trezoa runtime
itself. Additional crates provide capabilities built on trezoa-sdk, and
many programs will need to link to those crates as well, particularly for
clients communicating with Trezoa nodes over RPC.
Such crates include:
trezoa-client- For interacting with a Trezoa node via the JSON-RPC API.trezoa-cli-config- Loading and saving the Trezoa CLI configuration file.trezoa-clap-utils- Routines for setting up the CLI usingclap, as used by the Trezoa CLI. Includes functions for loading all types of signers supported by the CLI.
Dependencies
~21–28MB
~568K SLoC