1. The Sapio Language
  2. Introduction
  3. ABC 123
  4. Getting Started
    1. Installing Sapio
    2. Learning Rust
    3. Build and spend your first contract
  5. BIP-119 CTV Fundamentals
  6. Sapio Basics
    1. Contract Guts
      1. Miniscript/Policy
      2. Transaction Plans
      3. Template Builder
      4. Time Locks
      5. Sats and Coins
    2. Contract Actions
      1. guard
      2. compile_if
      3. then
      4. continuation
      5. When to use macros?
    3. Contract Declarations
    4. Contract Compilation Overview
    5. Contract Continuation Effects
  7. Exercises
  8. Sapio for Fun (and Profit)
  9. Warnings
  10. Limitations of Sapio
    1. BIP-119 Emulation
    2. Taproot Support
    3. Advanced Transaction Handling
    4. Mempool & Fees
  11. Advanced Topics
  12. Application Packaging
    1. WASM
    2. Rust Lib/Bin
    3. Sapio Studio
  13. Sapio CLI
  14. Advanced Rust Patterns
    1. Type Level State Machines
    2. TryFrom Constructors
    3. Concrete & Generic Types