-

@ EddieOz ⚡
2025-04-26 15:34:43
I just uploaded 2 videos showing how to use bitRaffle for giveaways and also for a provably-fair lottery game
https://www.youtube.com/playlist?list=PLTLUXxhmwL46Od84hrsod1tY3fO2jr9Vl
bitRaffle lets anyone run a provably-fair raffle by anchoring a CSV of tickets in an OP_RETURN Bitcoin transaction and deriving the winners deterministically from the block hash with BIP-32 HD keys
🛠️ How It Works (TL;DR)
- Data integrity – the participant CSV is pinned on IPFS; the CID is stored in Bitcoin via OP_RETURN, so the list is immutable once the TX is mined.
- Randomness you can audit – the winning index is derived from the last 8 hex chars of each child public key (m/44'/0'/0'/0/i) using the confirmed block hash as the BIP-39 seed.
- Full transparency – anyone can recompute winners with the same block hash + CSV; the math is pure client-side JS, no server-side secrets.