Skip to content

Arnav8452/chain-seat

Repository files navigation

🎫 ChainSeat: The Future of Secure Ticketing

ChainSeat is a blockchain-powered ticketing platform designed to eliminate fraud and scalping. By representing every ticket as a unique NFT (Non-Fungible Token) on the Polygon network, ChainSeat ensures 100% verified ownership and a secure secondary market.


🌟 Key Features

For Attendees

  • Fraud-Proof Tickets: Tickets are stored as NFTs, making them impossible to forge or duplicate.
  • Seamless Payments: Purchase tickets using UPI, Credit/Debit cards, or Netbanking via PayU.
  • Secure Digital Wallet: View and manage your "Live Tickets" with dynamic, time-sensitive QR codes for entry.
  • Easy Transfers: Securely send tickets to friends via email.
  • Safe Resale: List tickets for resale with automated ownership transfer and verified transactions.

For Organizers

  • Event Management: Effortlessly create events and "mint" ticket collections.
  • Royalty Protection: Automatically earn a percentage (e.g., 10%) on every secondary market resale.
  • Gatekeeper Tools: Built-in QR scanner for staff to verify attendees instantly at the venue.
  • Demand Analytics: Access regional data to optimize event planning.

🛠️ Tech Stack

  • Frontend: React + Vite + Tailwind CSS
  • Backend/Database: Supabase (PostgreSQL, Auth, Real-time)
  • Blockchain: Polygon (Smart Contracts in Solidity)
  • Serverless Logic: Supabase Edge Functions (TypeScript)
  • Payments: PayU Integration
  • Icons & UI: Lucide React, Framer Motion

🚀 Getting Started Locally

1. Prerequisites

2. Installation

Clone the repository and install dependencies:

npm install

3. Environment Setup

The project requires a .env file with Supabase credentials. (A pre-configured one is included in this setup).

4. Run Development Server

npm run dev

Open http://localhost:5173 in your browser.


🔧 Backend Setup (Optional)

If you are deploying your own version of the backend:

  1. Initialize Supabase: npx supabase init
  2. Link your project: npx supabase link --project-ref your-project-id
  3. Deploy Edge Functions: Use the provided setup_backend.ps1 script.
  4. Run SQL Migrations: Apply the scripts in the /supabase directory to your database.

🛡️ Security

  • Dynamic QR Codes: Prevents screenshot sharing.
  • On-Chain Verification: Gatekeepers verify the actual NFT ownership on the blockchain.
  • RLS (Row Level Security): Strict Supabase policies ensure users only access their own data.

📄 License

This project is for demonstration purposes. All rights reserved.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors