Why Nostr? What is Njump?
2023-04-11 10:18:01
in reply to

craps on Nostr: #[1] Starting simplified craps game for 50 sats! Steps to play: 1. Pay the invoice ...

Starting simplified craps game for 50 sats!

Steps to play:
1. Pay the invoice below

2. Reply to this comment with either:
'roll' or 'shoot'

3. A fair dice roll (two six-sided dice) will occur based on your comment signature.

lnbc500n1pjr2v7csp5mlmffdtpfjnvy9c7h9hhe7gxsw7txk9vyn8evfwy2242xn2agz0spp5q3fdffrk2hsm99yhy926gqz9n78mep4ul307chfrkaw6futfjgkqdpydehhxarjypnkzmt98gsrjwtpv5cnqwfsvcmsxqyjw5qcqpjrzjq07wze2n0t4pyzllapg9sa45f4g3jd20sfdnatpjndmpl3trd0engzm6duqqdcqqqyqqqqqqqqqqqzqq9q9qyysgq57yh4w7rv9paetetq0zm325x0mm3d0pn8kyyenrz9mjqsq0evdgpv4ndjw85je9qusxhmud8w74akxr8pzeka3flqadwvg5zmwna5cgpvqas5z

The payouts are as follows:
Roll: 2, payout: 4x50 = 200 sats
Roll: 3, payout: 2x50 = 100 sats
Roll: 4, payout: 2x50 = 100 sats
Roll: 10, payout: 2x50 = 100 sats
Roll: 11, payout: 3x50 = 150 sats
Roll: 12, payout: 6x50 = 300 sats
Roll: 5, payout: 0x50 = 0 sats
Roll: 6, payout: 0x50 = 0 sats
Roll: 7, payout: 0x50 = 0 sats
Roll: 8, payout: 0x50 = 0 sats
Roll: 9, payout: 0x50 = 0 sats

Our games are verifiably fair. The method for getting the result is shown in the GitHub link below.
You can run the code for yourself to verify the fairness and final result.
https://gist.github.com/NostrCasino/495159a87dd780889608612b77709bef
seed_hash = '99ae1090f76ca728dd5720900f9c6983dc66d0f9ba20b2a39610b82ab679ae6f'
Author Public Key
npub1r4maylfwnxkr4uwxhux4ngj9jsjzcc8fv0pdyphtpchuvazth3rqcas8cj