trueFanz is a team platfor for ticket sale, management with NFT, chz, spicy testnet
🏟️ Project Description
trueFanz is a decentralized ticketing platform built on the Chiliz Spicy Testnet. • Teams: Each sports team has an official wallet that issues match tickets as NFTs.
• Ticket Sales: Tickets are sold directly by the team wallet to fans, using CHZ as the only payment currency.
• Transparency & Security: By minting tickets as NFTs on Chiliz, fans are guaranteed authenticity, ownership, and transferability — eliminating counterfeits and cutting out resellers.
• Stadium Entry: Fans present a QR code linked to their NFT at the stadium gate. The code is scanned and verified against the blockchain to ensure ownership before entry.
⸻
🌟 Key Features 1. CHZ-Only Payments → Fans pay only in CHZ, the native Chiliz currency.
2. Direct Sales Only → Tickets can be sold only by teams. No scalpers, no third parties.
3. NFT Ticketing → Each ticket is an ERC-721 NFT, secure and verifiable.
4. Decentralized Metadata → Stored on IPFS/Pinata, fetched dynamically by the frontend.
5. Seamless Stadium Entry → QR code scanning ensures tickets are real and owned by the fan.
⸻
⚙️ How It’s Made • Frontend Built with Next.js + TypeScript, styled with Tailwind CSS.
• Privy handles wallet authentication (connects fans and teams securely).
• Marketplace UI lets fans browse available tickets and purchase directly in CHZ.
• Tickets appear under “My Tickets” and are linked to NFT metadata.
• Smart Contracts Written in Solidity and deployed with Hardhat on Chiliz Spicy.
• PSGTicketNFT.sol (ERC-721)
• Mints NFT tickets for matches.
• Minting restricted to Team Wallet only.
• Metadata (match, date, venue) stored on IPFS.
• FixedPriceSale.sol
• Handles ticket listing and direct purchase in CHZ.
• Only Team Wallet can list tickets.
• Fans purchase directly via CHZ payments — no peer-to-peer resale allowed.
• Storage (Pinata/IPFS)
• Ticket metadata (match info, venue, date, seat image, QR info) is pinned to IPFS via Pinata.
• NFT tokenURI points to IPFS CID.
• Frontend fetches and renders ticket info from IPFS gateway.
• Ticket Verification Flow
1. Fan shows QR code at the stadium gate.
2. Scanner fetches NFT metadata + checks ownerOf(tokenId) on Chiliz Spicy.
3. If fan wallet matches ownership, access granted.