Why Nostr? What is Njump?
2023-03-14 04:07:13
in reply to

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

Starting simplified craps game for 5000 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.

lnbc50u1pjqluh3sp5s6f776f90wgpvafgst302dcmstpyczc7cn94kde8w7fejxctzupqpp5uvehqdpa5gkaj2dfh2kmx70k7g8p8q62hfsz472chcttgvmxe2ssdpyvdexzurnypnkzmt98gsrjdphv4jk2dehx5esxqyjw5qcqpjrzjq07wze2n0t4pyzllapg9sa45f4g3jd20sfdnatpjndmpl3trd0engzm6duqqdcqqqyqqqqqqqqqqqzqq9q9qyysgq9pwq7prnml5qd2t2pruwqd06hymfsy3tj0p9s85rn7hqypw7d4xs7drec77x00ddhua0yt0g5ehfffclgtclhnzh79r89ymsxzmx47cpu7l86v

The payouts are as follows:
Roll: 2, payout: 4x5000 = 20000 sats
Roll: 3, payout: 2x5000 = 10000 sats
Roll: 4, payout: 2x5000 = 10000 sats
Roll: 10, payout: 3x5000 = 15000 sats
Roll: 11, payout: 3x5000 = 15000 sats
Roll: 12, payout: 6x5000 = 30000 sats
Roll: 5, payout: 0x5000 = 0 sats
Roll: 6, payout: 0x5000 = 0 sats
Roll: 7, payout: 0x5000 = 0 sats
Roll: 8, payout: 0x5000 = 0 sats
Roll: 9, payout: 0x5000 = 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/c9dc1a21ac419d79ed04ca171be73f97
seed_hash = '947eee77530b57fe1d7161e243b5d34ac70aa1966f6059e0b192151386f8f500'
Author Public Key
npub1r4maylfwnxkr4uwxhux4ngj9jsjzcc8fv0pdyphtpchuvazth3rqcas8cj