FleetMesh fleetmesh
Mesh Guide 8 Chapters
L6 Compute, Media, Settlement & Apps L6 Compute, Media, Settlement & Apps

Compute, Media, Settlement & Apps.

Everything below Layer 6 exists to power real sovereign software. Layer 6 composes opt-in WASM & NIP-90 DVM compute, experimental Groth16 & zkVM proofs, experimental Cashu HTTP 402 settlement, Mesh-Cast adaptive Bao video, NIP-5A nsite hosting, GRASP Git, Mesh Arcade, and Field AI-MCP on one verifiable did:nostr identity.

6.0 · Layer 6 Big Picture

Real applications running on your keys, not rented clouds

A peer-to-peer protocol only matters when everyday people can watch live video, push Git commits, run AI tools, and hire spare compute without opening corporate accounts. Layer 6 sits cleanly on top of Layers 1–5 so every app inherits BIP-340 identity, 8-rung transport, 1 KB Bao verification, bilateral metering, and UCAN permissions automatically.

In keeping with FleetMesh’s honest maturity gates, Layer 6 modules are explicitly flagged as either Opt-in (supported modules disabled until enabled in config) or Experimental (frontier components such as Bacalhau executors, Groth16 zkVM proving, and Cashu HTTP 402 settlement, shipped outside alpha stability guarantees).

Interactive Lab 6.0 · Layer 6 Application Stack Mapper
Pick an application workload to see which L6 modules & lower layers work together
L6 L6
Companion Explainer 6.0
Layer 6: Compute, Media, Settlement & Sovereign Apps
WASM & NIP-90 DVM Compute WASM & NIP-90 DVM Compute

6.1 · Opt-in · Kinds 30810, 30811 & NIP-90

WASM & NIP-90 DVM Compute

Maturity Note (Opt-in WASM / Experimental Executors): The opt-in DVM service covers deterministic WasmExecutor (Wasmtime/WASI) only. Additional compute executors including BacalhauExecutor (compute-over-data with Blossom mounts) are experimental outside alpha stability guarantees. Hardware tee-attestation and quasi-deterministic LLM adjudication modes remain unimplemented spec placeholders and are refused cleanly by honesty gates.

The Concept

How do you safely execute code for a stranger on your server without risking a host breakout, and how does the buyer verify they got an honest result? WebAssembly (WASM) sandboxes isolate untrusted code with zero filesystem or socket access and strict instruction fuel caps—while sealed preimage delivery and explicit verification modes let peers settle jobs without judging subjective content quality.

FleetMesh Implementation

  • Compute Asks & Receipts (kinds 30810 / 30811): Buyers name the Blossom WASM/input CIDs, fuel cap, and verify mode; interoperates with Nostr NIP-90 DVMs.
  • Accountable sealed delivery: Seller encrypts output R under one-time key k and commits to SHA256(k) in compute/1.0/sealed; invalid preimages trigger an objective S3 delivery-fraud penalty.
  • Conformance, never opinion: Deterministic WASM verifies by bitwise SHA256(result); non-deterministic Bacalhau/LLM jobs verify strictly via delivery or Draft 2020-12 schema-bounds.
Interactive Lab 6.1 · Compute Verification Mode & Dispute Adjudicator
Inspect how FleetMesh verifies deterministic WASM vs. non-deterministic LLM/Bacalhau jobs
WASM Compute WASM Compute
Companion Explainer 6.1
WASM Sandboxes & NIP-90 DVM Compute
Groth16 & zkVM Proofs Groth16 & zkVM Proofs

6.2 · Experimental · 192-Byte Succinct Proofs

Groth16 & zkVM Verified Compute

Maturity Note (Experimental): Groth16 / zkVM proving is experimental and ships outside alpha stability guarantees. Opt-in deterministic DVM compute today relies on sandboxed WASM re-execution and sealed delivery while proving toolchains mature.

The Concept

If a peer runs a heavy computation for ten minutes, re-running the entire program yourself just to check their work defeats the point—and fails completely when the computation depends on private inputs. Zero-knowledge succinct proofs (zk-SNARKs / Groth16) compress an entire execution trace into one tiny 192-byte proof that any phone can verify in milliseconds without learning the prover’s private witness.

FleetMesh Implementation

  • Constant 192-byte proof π = (A, B, C): Regardless of circuit depth, Groth16 outputs three elliptic-curve elements verified via one bilinear pairing check.
  • Sub-5 ms Leaf verification: Mobile and browser nodes check e(A, B) == e(α, β)·e(L, γ)·e(C, δ) locally with zero CPU re-execution.
  • Objective S2 proof-invalid evidence: Any forged output fails verification deterministically, supplying portable evidence along Layer 4’s severity ladder.
Interactive Lab 6.2 · Groth16 Proof Size & Pairing Verifier Simulator (Experimental)
Compare re-execution cost vs. constant 192-byte Groth16 verification and test a forged proof
ZK Proofs ZK Proofs
Companion Explainer 6.2
Groth16 & zkVM Verified Compute
Cashu Ecash & Lightning Cashu Ecash & Lightning

6.3 · Experimental · HTTP 402, NUT-03 & NUT-11 P2PK

Cashu Ecash & Lightning HTTP 402

Maturity Note (Experimental & Strictly Optional): Core FleetMesh peering requires zero money, zero tokens, and zero wallets (bilateral barter and grants handle everyday peering). Cashu HTTP 402 settlement is an experimental commercial extension for paid transit reflectors and creator micropayments.

The Concept

Credit cards and platform paywalls require accounts, minimum charges, and invasive tracking—and force every creator to trust a middleman to hold their revenue. Cashu brings Chaumian blind-signed ecash over Bitcoin Lightning directly into standard HTTP 402 headers, letting one request pay sub-cent bandwidth fees and non-custodial creator royalties atomically with zero user accounts.

FleetMesh Implementation

  • Dual-item PaidFetch HTTP 402: A single X-Cashu header carries two distinct proofs—one for the transit operator and one for the creator.
  • Operator NUT-03 swap + Lightning BOLT-11: The relay swaps its egress fee at the mint instantaneously to prevent double-spends and settles to Lightning anytime.
  • Non-custodial creator NUT-11 P2PK lock: Creator royalties are cryptographically locked to the creator’s public key—transit operators verify and forward them untouched without ever holding custody.
Interactive Lab 6.3 · Live Dual-Item HTTP 402 PaidFetch Split Simulator (Experimental)
Adjust segment price & split to inspect the exact X-Cashu NUT-03 + NUT-11 P2PK settlement
Cashu Cashu
Companion Explainer 6.3
Cashu Ecash & Lightning HTTP 402 Settlement
Adaptive Bao Video & NIP-5A nsite Adaptive Bao Video & NIP-5A nsite

6.4 · Opt-in · Mesh-Cast, p2panda & Kind 34128

Adaptive Bao Video & NIP-5A nsite

The Concept

Livestreaming from a residential internet line normally crashes after a handful of viewers unless you hand control to a centralized CDN. Mesh-Cast separates upload from fanout using verifiable append-only manifests, 1 KB Bao chunk trees, Rhio reflectors, and cooperative viewer swarms—while NIP-5A nsite hosts whole static web applications purely as signed manifests pointing to immutable Blossom blobs.

FleetMesh Implementation

  • Tamper-evident p2panda manifests: Each CMAF / LL-HLS video segment appends to a monotonic RFC 8949 CBOR op-log, preventing playlist injection while projecting standard .m3u8 views.
  • RhioBaoTree & dual pipelines: Segmented LL-HLS (1–4s latency) verifies every 1 KB slice against tree_root; interactive MoQ/datagram paths target 100–350 ms latency over FIPS/iroh.
  • NIP-5A nsite (kind 34128): Maps /index.html, JS, and CSS paths straight to Blossom SHA-256 CIDs so any gateway serves cryptographically verified static sites.
Interactive Lab 6.4 · Mesh-Cast Fanout & NIP-5A nsite Inspector
Compare streaming delivery tiers and inspect a verified NIP-5A static web app manifest
Bao Video & nsite Bao Video & nsite
Companion Explainer 6.4
Adaptive Bao Video & NIP-5A nsite Static Hosting
GRASP Git, Arcade & AI-MCP GRASP Git, Arcade & AI-MCP

6.5 · Opt-in · Kind 30617, Iroh Rung & Local MCP

GRASP Git, Mesh Arcade & Field AI-MCP

The Concept

Once identity, storage, and transport are portable, every software workflow escapes platform lock-in. Developers mirror Git repositories without GitHub, players run zero-server multiplayer matches over signed peer-to-peer rooms, and local AI assistants inspect protocols and nodes through standardized read-only Model Context Protocol tools grounded in real schemas—never leaking infrastructure topology to third-party SaaS clouds.

FleetMesh Implementation

  • GRASP Decentralized Git (kind 30617): Publishes signed repository announcements and branch refs on Nostr relays while mirroring immutable Git packfiles over Blossom CAS.
  • Mesh Arcade: Uses peer-to-peer DIDComm rooms over FleetMesh’s transport ladder (with an optional external iroh sidecar if NAT hole-punching is configured) with signed turn logs and deterministic replay verification—zero central matchmaking server.
  • Field AI & Local MCP (fleetmesh-field): Exposes read-only local MCP tools (search, ask, packages, schema_lookup, render_moire, harness_doctor, validate_event, probe_node, scaffold); see explore.html.
Interactive Lab 6.5 · Sovereign App Wire Explorer
Inspect how GRASP Git, Mesh Arcade, and Field AI-MCP compose FleetMesh’s stack
Sovereign Apps Sovereign Apps
Companion Explainer 6.5
GRASP Git, Mesh Arcade & Field AI-MCP