antigravity

Build Tari Ootle templates with Rust, compile to WASM, and publish to the Ootle network.

28|60|Updated Aug 11, 2022
One-click install
npx skills add https://github.com/tari-project/tari-ootle --skill antigravity-tari-project
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: antigravity
Source: https://github.com/tari-project/tari-ootle/tree/main/docs/skills/antigravity
Command: npx skills add https://github.com/tari-project/tari-ootle --skill antigravity-tari-project

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Antigravity provides a structured set of development instructions to build Tari Ootle templates (WASM smart contracts) and client transactions with correct APIs and patterns from the codebase.

Core Features & Use Cases

  • Template development workflow: write Rust code with the #[template] macro, compile to WASM, publish to the Ootle network.
  • Component interaction: learn how to create and interact with components, resources, vaults, buckets, and cross-component calls.
  • End-to-end guidance: from project setup to publishing templates and testing with ootle tooling.

Quick Start

Create a new template project from the official wasm-template starter, implement a #[template] module, build for wasm32-unknown-unknown, and publish to the Tari Ootle network.

Frequently Asked Questions about antigravity

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build Tari Ootle templates using Rust and compile them to WASM?

To build Tari Ootle templates, you write Rust code using the #[template] macro, compile it to WASM for the wasm32-unknown-unknown target, and deploy it to the Ootle network using ootle tooling.

What are Tari Ootle templates and how do they work as smart contracts?

Tari Ootle templates are WASM smart contracts built in Rust that manage on-chain components, resources, vaults, and buckets, enabling secure state management and cross-component interaction on the Tari network.

How do I interact with components, vaults, and resources in a Tari Ootle template?

You interact with components, vaults, and resources by using specific Tari Ootle APIs within your Rust template to manage state and execute cross-component calls during client transactions.

Do I need the wasm32-unknown-unknown target to publish templates to the Tari Ootle network?

Yes, you need the wasm32-unknown-unknown target. Templates must be compiled from Rust to WebAssembly before they can be published and tested on the Tari Ootle network using ootle tooling.

What's the best way to set up and test a Tari Ootle template project end-to-end?

The best way to set up a Tari Ootle template project is to start from the official wasm-template starter, implement your #[template] module, build, and then test with ootle tooling for end-to-end validation.