tari_template_lib

Crates.iotari_template_lib
lib.rstari_template_lib
version0.12.3
created_at2023-11-22 08:42:35.401811+00
updated_at2025-07-14 12:58:40.659587+00
descriptionTari template library provides abstrations that interface with the Tari validator engine
homepage
repositoryhttps://github.com/tari-project/tari-ootle
max_upload_size
id1044981
size274,455
Stan Bondi (sdbondi)

documentation

README

tari_template_lib

Overview

tari_template_lib provides ergonomic abstractions that allow WASM templates to interact with the Tari Ootle engine. Most if not all Ootle templates written in rust should depend on this crate.

In most cases, you will only require the prelude which can be included with:

use tari_template_lib::prelude::*;

Typically, a template author will use structs exported from the [models] module, the ResourceBuilder and the ComponentBuilder. This crate re-exports low-level ABI functions in tari_template_abi and the tari_template_macros proc macro.

Template Examples

no_std

no_std can be enabled using the no_std feature flag.

Documentation

Detailed documentation is available at docs.rs/tari_template_lib.

Commit count: 0

cargo fmt