Post
Topic
Board Project Development
Re: Anyone up for Beta Testing a Prototype on Lightning Network?
by
jordapoulton
on 19/09/2022, 21:52:21 UTC
I don't think you've made it clear on what am I betting at. I'll be generating a seed that is supposed to make gambling provably-fair, okay. I'll be paying your lightning invoice, also okay. Now, at this point, I expect to know who's generating that random number, as your provably fair page says.

I tried to send you 1,000 sats, but it ran out of routes. What's your lightning node? That's mine: https://1ml.com/node/03cd32110547654132187f08e217b20e3ce69f49dff5119da5597a5c0f8a2c7a5e. I have about 0.04 BTC as sending capacity across the network, so it's probably not my fault.

"I don't think you've made it clear on what am I betting at." - This is useful feedback, thanks. We should make it clearer that it's a 50:50 coin toss.

"I expect to know who's generating that random number" - this is generated by Ruby, as described in /fair, using the code:

```
(0...100).to_a.sample(random: Random.new(Random.new.seed.to_i))
```

This seed allows our users to run the code locally and verify that they got the same number we did.

What more would you like to know?

As for routing - we have lots of capacity in our channels. Should be plenty to handle a 1000 satoshi bet. Are you sure you followed steps 1 and 2 in order? If you make a request (step 2) before paying the invoice (step 1) it won't execute...

(And thanks for the feedback!)