Skip to content

A standalone HTML file that cryptographically verifies lottery fairness by comparing a revealed server seed against a pre-published bcrypt hash, running entirely client-side with zero server communication.

License

Notifications You must be signed in to change notification settings

TokenLottery/Verifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ” Lottery Fairness Verifier

A 100% open-source, client-side lottery verification tool using Provably Fair bcrypt technology.

✨ Features

  • βœ… Cryptographic Verification - Uses bcrypt algorithm to verify lottery fairness
  • πŸ”’ 100% Client-Side - All verification happens in your browser
  • 🚫 Zero Server Communication - Complete privacy, no data sent anywhere
  • πŸ“– Open Source & Auditable - Every line of code is transparent
  • 🌐 Offline Capable - Works without internet after initial load
  • 🎯 URL Parameters Support - Share verification links easily

πŸš€ Quick Start

Simply open index.html in any modern web browser. No installation or build process required!

Online Demo

Visit: https://tokenlottery.github.io/Verifier/

Offline Usage

  1. Download index.html
  2. Open it in your browser
  3. Works completely offline!

πŸ” How It Works

  1. Before Draw: Lottery publishes a bcrypt commit hash
  2. After Draw: Server seed is revealed
  3. Verification: Anyone can verify bcrypt(serverSeed) === commitHash

πŸ“¦ What's Included

  • Single HTML File - Everything in one file for maximum portability
  • No Dependencies - Bcrypt library loaded from CDN (with fallbacks)
  • Responsive Design - Works on desktop, tablet, and mobile
  • Accessibility - ARIA labels and keyboard navigation support

πŸ›‘οΈ Security

  • No Tracking - Zero analytics or cookies
  • No External Calls - After library loads, works completely offline
  • Auditable Code - Press Ctrl+U to view source anytime
  • Open Source - View on GitHub

πŸ“– Documentation

For detailed usage instructions, open the tool and click "How It Works".

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

⭐ Support

If you find this tool useful, please consider:

  • ⭐ Starring this repository
  • πŸ› Reporting issues
  • πŸ”€ Contributing improvements

Made with ❀️ for transparency and fairness

About

A standalone HTML file that cryptographically verifies lottery fairness by comparing a revealed server seed against a pre-published bcrypt hash, running entirely client-side with zero server communication.

Resources

License

Stars

Watchers

Forks

Languages