I was wondering if someone would know a solution for LN smart contracts that is easy to implement. Or if there is something ready made for whatever case. Like an API or such.
Look, I see how there is a bunch of poker websites and also many people like to bet in other sports like chess blitz games. Is that any solution to implement in cases like these? I mean, imagine a way two players can play a blitz game, bet some amount and the winner wins the prize (in bitcoins, of course).
Or maybe it could be not exactly a bet but a reward of a tournament. Some countries (like Brazil) still have some restrictions for bets. So the turn around is charge the ticket, then pay a final reward to the #1 in a poker/chess tournament, for instance.
Any ideas?
I would love to code this...
You can use DLCs (rust DLCs): https://github.com/p2pderivatives/rust-dlc
reply
I will study and consider it. Thanks!
reply
If you want it to be non-custodial, you'll want to look @supertestnet's hodl contracts.
If don't mind it being custodial, god help you, then it'd be like any other betting platform but with a different currency.
reply
This is good too
reply
My god! Python and Flask! God bless you!!
reply
deleted by author
reply