Arjen on Nostr: #askNostr #DVM When making a DVM job request, you can add relevant inputs in the `i` ...
#askNostr #DVM
When making a DVM job request, you can add relevant inputs in the `i` tag, but also in the `param`. How to decide which kind of inputs go where...?
For Github actions over Nostr I only make references to the input data, like repository and a .yaml file within that repo. Should that data be in the `i` tag or just `param`s?
Bonus question:
What do you think would be the ideal way to charge a customer for jobs that have wildy unpredictable execution times?
Some ideas i have:
- Include a payment larger than the expected cost, whatever's left will be returned to the customer
- Similar (but different) to the one above: Add cashu to a new NPUB and share the nsec with the DVM. DVM takes the money as it runs and leaves the rest. User reclaims the remainder.
- Some kind of NWC magic so the dvm can charge that
- ... your idea....
Published at
2025-01-29 06:40:41Event JSON
{
"id": "f742e3f2629b1c655a22a9d7e00b5802b4bb3fde71e20bc53e11b9648c69e5af",
"pubkey": "bbb5dda0e15567979f0543407bdc2033d6f0bbb30f72512a981cfdb2f09e2747",
"created_at": 1738132841,
"kind": 1,
"tags": [
[
"t",
"askNostr"
],
[
"t",
"DVM"
],
[
"r",
"wss://nos.lol/"
],
[
"r",
"wss://nostr.wine/",
"write"
],
[
"r",
"wss://relay.damus.io/",
"write"
],
[
"r",
"wss://relay.fountain.fm/",
"write"
],
[
"r",
"wss://relay.nostrplebs.com/",
"write"
],
[
"r",
"wss://relay.primal.net/"
]
],
"content": "#askNostr #DVM\n\nWhen making a DVM job request, you can add relevant inputs in the `i` tag, but also in the `param`. How to decide which kind of inputs go where...?\n\nFor Github actions over Nostr I only make references to the input data, like repository and a .yaml file within that repo. Should that data be in the `i` tag or just `param`s?\n\nBonus question:\nWhat do you think would be the ideal way to charge a customer for jobs that have wildy unpredictable execution times?\n\nSome ideas i have:\n- Include a payment larger than the expected cost, whatever's left will be returned to the customer\n- Similar (but different) to the one above: Add cashu to a new NPUB and share the nsec with the DVM. DVM takes the money as it runs and leaves the rest. User reclaims the remainder.\n- Some kind of NWC magic so the dvm can charge that\n- ... your idea....",
"sig": "70e29ae15188dc1b4eeb1629e8edde9821083440e7e4b84354d68d64f3527b5783dbcc0b23efda04be86a8db4b0bfe37af164c96a2e7914d038250d15029a58e"
}