eddieoz on Nostr: I just uploaded 2 videos showing how to use bitRaffle for giveaways and also for a ...
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=PLTLUXxhmwL46Od84hrsod1tY3fO2jr9VlbitRaffle 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.
Published at
2025-04-26 15:34:43 UTCEvent JSON
{
"id": "c4078ea9a4f163437808dd56ff4aa998f31c0ae0def2a0cba375c3057edb92d9",
"pubkey": "eac630759e313832c4d0113b9e1082279fb0efa6a9ce81cda9e8a366b4988b48",
"created_at": 1745681683,
"kind": 1,
"tags": [
[
"r",
"https://www.youtube.com/playlist?list=PLTLUXxhmwL46Od84hrsod1tY3fO2jr9Vl"
],
[
"client",
"Ditto",
"31990:15b68d319a088a9b0c6853d2232aff0d69c8c58f0dccceabfb9a82bd4fd19c58:ditto",
"wss://ditto.pub/relay"
]
],
"content": "I just uploaded 2 videos showing how to use bitRaffle for giveaways and also for a provably-fair lottery game\n\nhttps://www.youtube.com/playlist?list=PLTLUXxhmwL46Od84hrsod1tY3fO2jr9Vl\n\nbitRaffle 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\n\n🛠️ How It Works (TL;DR)\n- 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.\n\n- 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.\n\n- Full transparency – anyone can recompute winners with the same block hash + CSV; the math is pure client-side JS, no server-side secrets.",
"sig": "36e9b8ddd4759ff9283084b5294763a3af2a7afdd174bca9cf31f9f49af2ad249ec558ee331f147501d1d7aa136884074606c586af1c56533f72bbe2f6256319"
}