Heads
#[1] Starting coin flip game for 250 sats, guess right and double your sats!
Steps to play:
1. Pay the invoice below
2. Reply to this comment with either:
'heads' or 'tails'
3. If you guess right, you'll get double your sats back!
lnbc2500n1pjpd6xmsp50mqm79pfd2qh30yt226w9p7qc00uynnuk85u2z2gexeltm07jvjqpp5rd2z8rf3exk52dcra34ae2sndv9r8j395r8tz4pnrxnp9mgtg9ksdpgvdhkjmnxd35hqgr8v9kk2w3qvserze3kvejx2enrxqyjw5qcqpjrzjq07wze2n0t4pyzllapg9sa45f4g3jd20sfdnatpjndmpl3trd0engzm6duqqdcqqqyqqqqqqqqqqqzqq9q9qyysgq8wr9f9q8vverymmrn7lhevvt8fr6hpq0p2fzkjzn5gka4ap2tslhqv93dcrj58cfxfeehtxu9n6amjl8q39xqrksfr2y4p96s6vy33gqmdhg67
We use a verifiably fair way to get the coinflip result. See the below "Verifiably Fair" section for more details.
Verifiably Fair:
Our coin flips 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/9eda61f2244d2bf0327379d8d92cd24e
seed_hash = 'd21f6fdefc957b5d6a6531209f2d68dfe6b6a37ebacb52cf70c643edaf513498'
Discussion
#[1]
Congratulations, you guessed right! You've won 500 sats!
The final result was heads! 500 sats will be paid to your wallet at: swan@getalby.com
You might also like our new dice game https://snort.social/p/npub1r4maylfwnxkr4uwxhux4ngj9jsjzcc8fv0pdyphtpchuvazth3rqcas8cj
Verifiably Fair:
Our coin flips 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/9eda61f2244d2bf0327379d8d92cd24e
seed_hash = 'd21f6fdefc957b5d6a6531209f2d68dfe6b6a37ebacb52cf70c643edaf513498'
seed = b'6945354978548bd1ca4845078e9196352295a15825f9e0b3d828eac158e1b6a3b33eb7c708df986168e7b93030faeb43dfa8b102923be03b4fa159f8e06c13f1'
signature = '3fb48015a84b66c6fd8ca5f6390fac04060f25f0e3170e0ee60d26144281caf999bd7699935d4e6d2f9fc0b5ef16f5b53a802e3f90f0ef26f7b3cc6813b83682'
player_guess = 'heads'
thank you soo much!! #[2]