Global Feed Post Login
Replying to Avatar josh

Here's a simple lottery game that could be easily verified by anyone.

Create an npub / website where you can bet on red or black.

When a new bitcoin block comes in, mod (%) the hash value by 2.

If the value is 0 = black, 1 = red.

If black wins, they win reds' pot. And vice versa.

Anyone could verify if cheating took place by doing the incredibly simple block height hash % 2.

You could follow this example to make the full game of roulette with other odds (including house wins).

The real question is legality.

Avatar
Jameson Lopp 6mo ago

When it comes to legality the trick is making sure no human is using the infrastructure.

Reply to this note

Please Login to reply.

Discussion

Avatar
josh 6mo ago

I don’t know what these words mean together.

Avatar
cypher_funk 6mo ago

That it’s a game played only by AIs lol

Thread collapsed
Thread collapsed