This project is a basic event ticket management system developed using Solidity.
The contract allows users to purchase tickets for different types of events such as Conferences, Workshops, Hackathons, Meetups, Webinars, and Summits. Each ticket is assigned a unique ticket ID and stores important information such as the buyer's address, event name, purchase amount, purchase date, event date, event type, and ticket tier.
- Purchase tickets using Ether
- Support for multiple event categories
- Support for Standard, Premium, and VIP ticket tiers
- Validation of event dates
- Prevention of duplicate ticket IDs
- Track the total number of tickets sold
- Calculate refund amounts based on the number of days remaining before the event
- View ticket summary information
- Emit events whenever a ticket is purchased
Allows a user to purchase a ticket by providing event details and making a payment.
Returns the number of days remaining before the event starts.
Calculates the refund amount according to the cancellation policy.
Returns the buyer address, purchase amount, and ticket tier for a given ticket.
- Solidity
- Remix IDE
- Ethereum Smart Contracts
Debadutta Patel
B.Tech Information Technology Odisha University of Technology and Research