Is anyone working on NOSTR based dlc or similar apps? I need it to help my degen gambling with nostr:npub1tvqc82mv8cezhax5r34n4muc2c4pgjz8kaye2smj032nngg52clq0rkrq4

Would love to setup some rules, agree over nostr, then publish the results to a note that sends a zap automatically. no clue how it would work, but would be amazing.

#asknostr

Reply to this note

Please Login to reply.

Discussion

🤔

A pounding like that has really stoked the flames in you. 🤣

hahaha.

The most straightforward way ATM is with ecash and a multisig pay to pubkey setup and a 3rd signer as your "oracle"

P2pk constrains who can spend the cash and supports timeouts/refunds

Each party would make a 2 of 3 multisig p2pk spendable by the counterparty, the oracle provides the 2nd signature when the bet is settled

Mints support p2pk now but a true DLC is a bit more complicated // good luck I haven't grokked that yet

Interesting. that's awesome

I'm building a 2-player flobby bird game where you bet ecash and literally just got the p2pk setup working. It took a while bc im an idiot and cryptography is magic

That's great. A chess game would be killer too, betting ecash.

All of this im aware of so far has been on the honor system. Though there are custodial systems out there for the common cases like playing poker.

it can be done on chain of course, and has been. I just wonder how nostr could be used to coordinate. kind of like mixing service coordinating.