Skip to content

Tari Ootle Template Library Documentation

Welcome to the Tari Ootle Template Library Documentation!

This documentation provides a comprehensive guide for developers looking to build secure, efficient, and powerful on-chain applications using the Tari Ootle Template Library. Whether you’re new to the Tari ecosystem or an experienced blockchain developer, you’ll find resources here to help you get started and master template development.

The Tari Ootle Template Library simplifies the creation of smart contracts, referred to as “templates”, by providing ergonomic Rust abstractions over the core Ootle engine interactions. It is designed to be highly secure, performant, and flexible, allowing you to define complex behaviors and to manage digital assets effectively.

Introduction

Start here to understand the concepts of the Tari Ootle Template Library. Read the Introduction

Setup a Wallet

Download and install a wallet. You’ll need this to publish templates. Wallet Setup

Guides

Step-by-step tutorials and practical examples to help you build, test, and deploy your Ootle Templates. Learn how to write templates, manage resources, handle events, and implement access control. Explore the Guides

Reference

Detailed API documentation for all the types, macros, and modules provided by the tari_template_lib and tari_template_lib_types crates. View the Reference

In the Tari ecosystem, an “Ootle Template” is analogous to a smart contract on other blockchain platforms. It is compiled into WebAssembly (WASM) and defines the logic and state transitions for on-chain applications.

  • Rust-Native Development: Leverage the power and safety of Rust to write your on-chain logic.
  • Ergonomic: Simplified interfaces for interacting with the Tari Ootle engine, including resource management, component creation, and event emission.
  • Interoperability: Designed to integrate seamlessly within the broader Tari ecosystem.
  • Security-Focused: Built with security best practices in mind, providing tools to help developers write secure code.

We encourage you to explore the documentation, experiment with the examples, and join our community to contribute and get support.