Post
Topic
Board Project Development
Merits 1 from 1 user
Re: Anyone up for Beta Testing a Prototype on Lightning Network?
by
BlackHatCoiner
on 21/09/2022, 09:13:42 UTC
⭐ Merited by ETFbitcoin (1)
Okay, so the thousand satoshis were successfully routed to you this time. Generated a 1,980 satoshi invoice, and let it toss the coin. The page loaded, it was tails, I lost, and it showed me that if I wanted to verify the result, I should run the following command:
Code:
curl -s https://gist.githubusercontent.com/shellandbull/5ab714d5480995eeb92078c7e0d30f9e/raw/a6a6bbb7ca14def28fc6d948136c04cd75edd1aa/verify.rb | ruby /dev/stdin 793 50

Ran it, and got:
Code:
----------
seed - 793
odds - 50
House won? true
----------

Would you mind explaining a little bit what's behind this? And perhaps answer the two previous questions:
I don't understand who's generating the seed. If I do it locally, and hand it over to you, with source code transparent, can't I cheat the game? Analogously, if I don't do it locally, and you hand me over the seed, can't you cheat me?




I think I've found a bug. I've sent another 1,000, but your page has stuck here. It doesn't do anything. I have not received anything back, so I assume the coin isn't being tossed in the background.