SatFlow DVM
Zero-KYC AI compute powered by Nostr & Lightning
Created on 28th September 2026
•
SatFlow DVM
Zero-KYC AI compute powered by Nostr & Lightning
The problem SatFlow DVM solves
What it does:
SatFlow DVM is an autonomous Data Vending Machine operating across the Nostr protocol that performs on-demand security and malleability audits of Bitcoin Script, gated strictly by Bitcoin Lightning micropayments.
1. Decentralized Job Dispatch: Listens across public Nostr relays for compute requests using NIP-90 (kind: 5050).
2. Native Bitcoin Payment Rail: Automatically issues a Lightning BOLT11 invoice and emits NIP-90 feedback (kind: 7000, payment-required) with ASCII QR code generation.
3. Settlement Verification & Execution: Upon verifiable invoice settlement, it executes an automated Bitcoin Script security analysis.
4. End-to-End Privacy: The audit report is encrypted using NIP-44 v2 shared conversation keys before being broadcasted back to relays (kind: 6050), ensuring relay operators and third-party observers cannot inspect the user's payload.
How we built it:
-Language & Runtime: TypeScript / Node.js
-Nostr Stack: nostr-tools (v2), implementing NIP-01, NIP-89, NIP-90, and NIP-44 v2 encryption.
-Payment Verification: Modular Lightning interface supporting LNbits settlement hooks, with a configurable mock payment engine (MOCK_PAYMENT=true) for reproducible zero-friction evaluation.
-Inference Engine: Bitcoin Script static analysis auditor checking for timelock semantics, relative locktime verification (OP_CSV/OP_CLTV), and signature malleability.
Challenges I ran into
Challenges we ran into:
-Handling WebSocket connection drops across heterogeneous public Nostr relays without interrupting the job lifecycle. We implemented resilient multi-relay broadcasting with fallback handling.
-Structuring strict NIP-44 v2 encryption to guarantee only the ephemeral client pubkey can decrypt the result payload.
Tracks Applied (3)
Machine Money
Bitshala
Freedom Stack
Bitshala
Cypherpunk
Bitshala
Technologies used
