Complete documentation for developing smart contracts on the Tari blockchain
Welcome to the comprehensive Tari CLI documentation! Whether you're new to smart contract development or an experienced blockchain developer, these guides will help you build powerful decentralized applications on Tari.
- Installation & Setup - Get Tari CLI installed and configured
- Quick Start Guide - Deploy your first smart contract in 10 minutes
- Development Workflow - Learn the complete development cycle
- Template Development - Create custom smart contract templates
- Project Configuration - Configure projects and networks
- Deployment Guide - Deploy contracts to blockchain networks
- CLI Commands - Complete command reference with examples
- Configuration Schema - All configuration options
- API Patterns - Real implementation patterns from codebase
- Common Issues - Solutions to frequent problems
- Advanced Debugging - Deep troubleshooting techniques
- FAQ - Frequently asked questions
- Development Setup - Set up development environment
- Testing Guide - Test framework and best practices
📚 Tari CLI Documentation
├── 🚀 Getting Started
│ ├── Installation & Setup............. Complete environment setup
│ ├── Quick Start Guide................ First contract in 10 minutes
│ └── Development Workflow............. Full development cycle
├── 📖 Guides
│ ├── Template Development............. Custom smart contract creation
│ ├── Project Configuration............ Network and project setup
│ └── Deployment Guide................ Blockchain deployment
├── 📋 Reference
│ ├── CLI Commands.................... Complete command reference
│ ├── Configuration Schema............ All config options
│ └── API Patterns.................... Real implementation examples
├── 🔧 Troubleshooting
│ ├── Common Issues................... Frequent problem solutions
│ ├── Advanced Debugging.............. Deep troubleshooting
│ └── FAQ............................. Frequently asked questions
└── 🤝 Contributing
├── Development Setup............... Contributor environment
└── Testing Guide................... Test practices
Start here: Installation & Setup → Quick Start
You'll learn: How to install Tari CLI, create your first project, and deploy a smart contract
Start here: Template Development Guide
You'll learn: How to create reusable smart contract templates for specific use cases
Start here: Project Configuration → Configuration Schema
You'll learn: Advanced configuration for multiple networks, custom environments, and CI/CD
Start here: Deployment Guide
You'll learn: Best practices for mainnet deployment, security considerations, and monitoring
Start here: Common Issues
You'll find: Solutions to the most frequent problems and debugging techniques
Start here: Development Setup
You'll learn: How to set up a development environment and contribute to Tari CLI
graph TB
A[Install Tari CLI] --> B[Create Project]
B --> C[Generate Templates]
C --> D[Develop Contracts]
D --> E[Test & Compile]
E --> F[Deploy to Network]
F --> G[Monitor & Iterate]
G --> D
style A fill:#e1f5fe
style F fill:#e8f5e8
style G fill:#fff3e0
Typical Development Flow:
- Install - Set up development environment
- Create - Initialize new project workspace
- Generate - Create smart contracts from templates
- Develop - Implement custom business logic
- Test - Verify WASM compilation
- Deploy - Publish to blockchain
- Monitor - Track performance and usage
All documentation in this repository follows strict accuracy standards:
✅ Verified Examples: All code examples are extracted from actual test files or implementation
✅ Real Error Messages: Error messages match actual CLI output
✅ Tested Commands: All CLI commands are verified against current implementation
✅ Source References: Major examples include source file references
✅ Regular Updates: Documentation is updated with each release
- Installation Issues: Installation Guide
- Command Help: Run
tari --helportari <command> --help - Configuration Problems: Common Issues
- 🐛 Bug Reports: GitHub Issues
- 💬 General Discussion: Tari Discord
- ❓ Questions: GitHub Discussions
Found something unclear or missing? We welcome contributions!
- Quick Edits: Use GitHub's edit button on any page
- Major Changes: See Contributing Guide
- Documentation Issues: Report documentation bugs
What you can build with Tari CLI:
- NFT Marketplaces: Unique digital asset platforms
- Token Systems: Custom cryptocurrency implementations
- DeFi Protocols: Decentralized finance applications
- DAOs: Decentralized autonomous organizations
- Gaming Assets: In-game items and economies
Documentation Version: Latest (main branch)
Last Major Update: 2025-06-26
CLI Version Compatibility: All current versions
Recent Improvements:
- ✨ Comprehensive CLI command reference
- ✨ Enhanced troubleshooting guides with verified solutions
- ✨ Step-by-step quick start workflow
- ✨ Visual workflow diagrams
- ✨ Real examples from test files
Ready to start building? Begin with our Quick Start Guide and deploy your first smart contract in minutes!