DVM Service Provider — NIP-90 Data Vending Machine #4

Open
opened 2026-02-20 08:42:29 +00:00 by nazim · 0 comments
Contributor

Summary

Cobot as a NIP-90 Data Vending Machine — an npub that accepts job requests over Nostr, processes them, and gets paid Lightning.

Why It Fits

Cobot already has:

  • Nostr identity (keypair, relay publishing)
  • Lightning wallet (npub.cash / NWC)
  • LLM access (PPQ, Ollama)
  • Plugin architecture

Protocol

  • Customer publishes job request (kind 5000-5999)
  • DVM picks it up, processes, sends result (kind 6000-6999)
  • Kind 5050 = text generation / LLM inference — obvious first service
  • Payment via Lightning invoice or zaps

Implementation Sketch

A dvm plugin that:

  1. Subscribes to relevant job request kinds on relays
  2. Filters by supported job types (initially 5050)
  3. Processes via cobot's LLM provider
  4. Publishes result event
  5. Handles Lightning payment

Ecosystem

  • DVMDash — live directory of DVM services
  • 19 registered job types
  • Growing marketplace — cobot could earn sats autonomously

Open Questions

  • Pricing model (per-token? per-request? flat fee?)
  • Spam filtering (require pre-payment?)
  • Which job types beyond 5050?
## Summary Cobot as a [NIP-90](https://github.com/nostr-protocol/nips/blob/master/90.md) Data Vending Machine — an npub that accepts job requests over Nostr, processes them, and gets paid Lightning. ## Why It Fits Cobot already has: - ✅ Nostr identity (keypair, relay publishing) - ✅ Lightning wallet (npub.cash / NWC) - ✅ LLM access (PPQ, Ollama) - ✅ Plugin architecture ## Protocol - Customer publishes job request (kind 5000-5999) - DVM picks it up, processes, sends result (kind 6000-6999) - Kind **5050** = text generation / LLM inference — obvious first service - Payment via Lightning invoice or zaps ## Implementation Sketch A `dvm` plugin that: 1. Subscribes to relevant job request kinds on relays 2. Filters by supported job types (initially 5050) 3. Processes via cobot's LLM provider 4. Publishes result event 5. Handles Lightning payment ## Ecosystem - [DVMDash](https://dvmdash.live/) — live directory of DVM services - 19 registered job types - Growing marketplace — cobot could earn sats autonomously ## Open Questions - Pricing model (per-token? per-request? flat fee?) - Spam filtering (require pre-payment?) - Which job types beyond 5050?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ultanio/cobot#4
No description provided.