Skip to content

tanveeiii/Event-Ticketing-System

Repository files navigation

Event Ticketing System (Decentralized) - BlockMiners

Team Members:

  • Tanvi Agarwal: 230001075
  • Suryansh Nagar: 230003077
  • Manan Jiwnani: 230001049
  • Manan Nigam: 230051009
  • Vasudha Bhuva: 230002017
  • Prince Kumar: 230051013

Overview

A fully decentralized event ticketing system built on the Ethereum blockchain using smart contracts and NFTs (ERC-721). This platform enables event organizers to create events and issue NFT-based tickets, while allowing users to buy, sell, and verify tickets securely without intermediaries.

Tech Stack

  • Smart Contracts: Solidity, OpenZeppelin (ERC-721)
  • Blockchain Development: Truffle, Ganache
  • Frontend: React.js, Web3.js
  • Wallet Integration: MetaMask
  • Local Blockchain: Ganache

Features

  • Organizer can create events
  • NFT-based ticket generation using ERC-721
  • Ticket purchase and ownership via MetaMask
  • Secondary market transfers (resale)
  • Event and ticket details stored on-chain
  • Full transparency and traceability

Installation

Prerequisites

  • Node.js (v14 or higher)
  • Truffle (npm install -g truffle)
  • Ganache (GUI or CLI)
  • MetaMask browser extension

Clone the Repository

git clone https://github.com/tanveeiii/Event-Ticketing-System.git
cd Event-Ticketing-System

Install dependencies

npm i

Compile and deploy your smart contract on ganache

npx truffle compile
npx truffle migrate

.env Configuration

After deploying the smart contract, create a .env file and add the addresses of the deployed contracts into it.

VITE_EVENT_TICKET_ADDRESS="Address of EventTicket smart contract"
VITE_TICKET_MARKETPLACE_ADDRESS="Address of TicketMarketplace contract"

Start ganache

  • Open ganache or run it via cli.
  • Copy one of the account private keys and import it into MetaMask.
  • Connect MetaMask to http://127.0.0.1:7545 (or your ganache port).

Starting the website in development

npm run dev

For Landing page -

cd landing
npm i
npm run dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6