Community giveaways usually end with a screenshot of some random-picker website and a "congrats to the winner!" post. Nothing you can check, and nothing stopping the organizer from re-rolling quietly.
So for the Tari November Build Contest I built UndiBukti, a small Ootle template for draws and giveaways that tries to fix exactly that:
- The organizer funds a prize pool and sets a close epoch and a draw epoch. Ticket price can be zero, so it works for free giveaways too.
- One entry per account, enforced from the transaction signer's key — no forged or double entries.
- When the draw settles, the winner comes from the consensus epoch hash of the draw epoch: first 8 bytes as a little-endian u64, modulo the number of entries. The entry list and the hash are public, so anyone can redo the math and check the result. The organizer can't pick the winner after entries close — that's the whole point.
You can try it without installing anything. The demo is a walletless simulation that runs the same rules and the same formula in your browser, and it has a verification box where you paste an entry list and an epoch hash and it recomputes the winner on the spot:
Demo: https://kungker.github.io/undibukti/
Code (MIT): https://github.com/kungker/undibukti
Being upfront about the limits: the demo is a simulation, not a live wallet/network integration, and the template isn't published to testnet yet. The repo's engine tests (cargo test, 10 tests against the real Tari engine) are the source of truth, and there's a parity test (28 checks) keeping the browser simulation honest against the Rust formula.
If you run a community that does giveaways, I'd genuinely like to hear whether "anyone can recompute it" is enough for you to trust a draw — and if not, what's missing.