1 stable release

3.2.3 Dec 5, 2025
3.2.2 Dec 4, 2025
3.1.1 Nov 3, 2025

#51 in #on-chain-programs

Apache-2.0

545KB
11K SLoC

Rust 10K SLoC // 0.0% comments Bitbake 1K SLoC // 0.2% comments Shell 442 SLoC // 0.1% comments

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:

Dependencies

~21–28MB
~568K SLoC