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
Please Login to reply.
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.