Skip to content

Add Schwag Roulette Demo#1

Open
hrsh22 wants to merge 3 commits into
randa-mu:mainfrom
hrsh22:main
Open

Add Schwag Roulette Demo#1
hrsh22 wants to merge 3 commits into
randa-mu:mainfrom
hrsh22:main

Conversation

@hrsh22
Copy link
Copy Markdown

@hrsh22 hrsh22 commented Aug 17, 2025

Overview

Adds a VRF‑powered "Schwag Roulette" demo under app/schwagroulette for fair, transparent, and engaging swag distribution at event booths.

Why this is useful

  • Provably fair: Uses VRF to select outcomes, eliminating disputes and bias.
  • Faster booth ops: One-tap spin and clear prize reveal streamlines handouts.
  • Engaging UX: Visual wheel with prize images boosts attendee interaction.
  • Mobile-friendly: Fully responsive layout with touch-friendly controls.
  • Self‑contained: Lives entirely under app/schwagroulette/, safe to adopt or iterate without touching global config.

How to use

  • Run the app and open /schwagroulette.
  • Connect your wallet when prompted.
  • Click “Spin.” A VRF request is made, the wheel animates to the VRF‑derived index, and the winning prize is displayed for fulfillment.

Scope

  • All code and assets are contained within app/schwagroulette/. No global layout or config changes included.

Preview

  • Desktop View:
Screenshot 2025-08-17 at 9 50 02 PM
  • Mobile View
Screenshot 2025-08-17 at 9 52 03 PM

@CluEleSsUK CluEleSsUK self-requested a review August 20, 2025 08:01
Copy link
Copy Markdown
Contributor

@CluEleSsUK CluEleSsUK left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work - thanks! Only a minor request is to run a linter over it - there's a mix of single and double quotes throughout, but otherwise looks amazing!

@hrsh22
Copy link
Copy Markdown
Author

hrsh22 commented Aug 20, 2025

Hi @CluEleSsUK
Thanks for flagging that! I've run a linter and updated everything to use consistent double quotes. Appreciate it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants