Oddbean new post about | logout
 It might depend on the use case and which DVMs you are using. When you say “send by the client” do you mean broadcasting a kind 5000-5999 event, vs say DM’ing the DVM directly? 
 Ok thanks. I don't know the kinds in detail yet, but can be AI generation, for example a daily sketch image of the news happened, can be some cronjob sending notifications by another protocol, etc. 
 Oh yeah, I want to build things like this too. Definitely possible, although might not be anyone doing this yet. 
 Nice. Which source(s) do you recommend to get started with DVM? 
 If you are comfortable with python you can check out nostrdvm, the basic protocol is pretty simple so you can also write it from scratch, especially in a language that has Nostr sdk bindings. You just need to listen for the job request kind (5xxx), offer a status update events (kind 7000) like “processing”, etc and then submit the job when you are done with the matching kind 6xxx result event.

Check out examples of events here: https://dvmdash.live/debug/

One reason to use nostrdvm is that it has lightning payments with lnbits set up and a number of extra features.

https://github.com/believethehype/nostrdvm

@Don't ₿elieve the Hype 🦊 is the dev behind it 
 Thanks, will give it a try 
 Let me know if you run into trouble 🤙