- The Sapio Language
- Introduction
- ABC 123
- 1. Getting Started
- 1.1. Installing Sapio
- 1.2. Learning Rust
- 1.3. Build and spend your first contract
- 2. BIP-119 CTV Fundamentals
- 3. Sapio Basics
- 3.1. Contract Guts
- 3.1.1. Miniscript/Policy
- 3.1.2. Transaction Plans
- 3.1.3. Template Builder
- 3.1.4. Time Locks
- 3.1.5. Sats and Coins
- 3.2. Contract Actions
- 3.2.1. guard
- 3.2.2. compile_if
- 3.2.3. then
- 3.2.4. continuation
- 3.2.5. When to use macros?
- 3.3. Contract Declarations
- 3.4. Contract Compilation Overview
- 3.5. Contract Continuation Effects
- Exercises
- 4. Sapio for Fun (and Profit)
- Warnings
- 5. Limitations of Sapio
- 5.1. BIP-119 Emulation
- 5.2. Taproot Support
- 5.3. Advanced Transaction Handling
- 5.4. Mempool & Fees
- Advanced Topics
- 6. Application Packaging
- 6.1. WASM
- 6.2. Rust Lib/Bin
- 6.3. Sapio Studio
- 7. Sapio CLI
- 8. Advanced Rust Patterns
- 8.1. Type Level State Machines
- 8.2. TryFrom Constructors
- 8.3. Concrete & Generic Types