Foyer

A decentralized secondary marketplace for event tickets powered by blockchain escrow and KYC

Foyer

Created At

ETHGlobal New Delhi

Project Description

This project combines blockchain smart contracts and a modern web frontend to create a decentralized secondary marketplace for event tickets. Foyer eliminates fraud and reduces fees in ticket resale by leveraging Ethereum's security The platform is designed to solve critical problems in traditional ticket resale: high platform fees (15-25%), fraud risks, payment delays, and lack of buyer protection. Users connect their Web3 wallets, complete KYC verification, and can then buy or sell tickets with complete transparency and security.

How it's Made

CORE TECHNOLOGY STACK

FRONTEND (Next.js 15 + TypeScript) Next.js 15 with App Router: Leveraged the latest React Server Components and streaming for optimal performance Wagmi v2 + Viem: Modern Web3 integration replacing legacy ethers.js patterns for better type safety and performance RainbowKit: Seamless wallet connection supporting MetaMask, WalletConnect, and 15+ other wallets Tailwind CSS 4: Utility-first styling with custom gradient themes and responsive design TypeScript 5: Strict type safety across the entire frontend codebase

BACKEND (Node.js + TypeScript) Express.js 5: RESTful API with modern async/await patterns MongoDB + Mongoose: Document-based storage for user data, chat messages, and off-chain metadata Socket.io: Real-time bidirectional communication for instant messaging JWT + Wallet Signatures: Hybrid authentication combining traditional tokens with Web3 wallet verification Pinata IPFS: Decentralized metadata storage for ticket information Smart Contracts (Solidity + Foundry) Solidity 0.8.28: Latest compiler version with advanced optimization Foundry Framework: Fast, modern Rust-based toolchain replacing Hardhat for better performance OpenZeppelin Contracts: Battle-tested security patterns for access control and token interactions

PARTNER TECHNOLOGIES:

  1. PayPal USD: We use PyUSD as a reserve currency in our system. We aim to have a safe and secure yield generation mechanism around it one day so that we can offer our protocol services at zero or minimal cost.

  2. Self Protocol: We’ve chosen Self Protocol to ensure KYC compliance, build trust with verified buyers and sellers, and maintain fairness through robust dispute resolution.

background image mobile

Join the mailing list

Get the latest news and updates