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
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).
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
kinds 30810 / 30811): Buyers name the Blossom WASM/input CIDs, fuel cap, and verify mode; interoperates with Nostr NIP-90 DVMs.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.SHA256(result); non-deterministic Bacalhau/LLM jobs verify strictly via delivery or Draft 2020-12 schema-bounds.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
π = (A, B, C): Regardless of circuit depth, Groth16 outputs three elliptic-curve elements verified via one bilinear pairing check.e(A, B) == e(α, β)·e(L, γ)·e(C, δ) locally with zero CPU re-execution.S2 proof-invalid evidence: Any forged output fails verification deterministically, supplying portable evidence along Layer 4’s severity ladder.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
PaidFetch HTTP 402: A single X-Cashu header carries two distinct proofs—one for the transit operator and one for the creator.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.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.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
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.nsite (kind 34128): Maps /index.html, JS, and CSS paths straight to Blossom SHA-256 CIDs so any gateway serves cryptographically verified static sites.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
kind 30617): Publishes signed repository announcements and branch refs on Nostr relays while mirroring immutable Git packfiles over Blossom CAS.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.