← Back to home

NFT Events tickets

Event ticketing platform using NFTs. This project seeks to create a platform to move to Web3 a event ticketing service.

Screenshots

NFT Events tickets screenshot 1
NFT Events tickets screenshot 2

Problem Statement

This project seeks to create a platform to move to Web3 a event ticketing service. The project combines event creation, as well as buy & sell tickets and involves two players: i)event host and ii) users/individuals. On the one hand, allows the host to create events and sell tickets where it can be set: Event name; Total number of tickets; Pricing; Limit tickets per user; Upload event logo/image. Further, the platform allows the withdrawal of funds. On the other hand, users can vizualizate all available events with their features, buy tickets, transfer and use them to check-in.

Solution

Can be split in four main use phases:-Creating a new event-See your events - withdrawal-Buy tickets-Use or transfer the tickets you boughtNew eventAnyone only connecting a compatible wallet can enter and create a new event with the following options:Event nameNumber of ticketsLimit of tickets per walletTickets priceEvent imageThis action interacts with the EventFactory contract which is the core of the project. This contract recibes the create Event call and generates a new Event contract where all the logic of the event will be deployed. The event creation generates an NFT representing the event per se.The project uses IPFS to store the event image, and also to save metadata in a static IPFS-served json file. The hash obtained is stored in the contract using the ERC721URIStorage properties.Your events - withdrawalAny user can log in to the platform connecting their wallet. The platform will display all the NFT Events of the connected User and the information of each one, including the amount of tickets sold and the funds available to withdraw. From there the user can withdraw the funds interacting with the Event contract directly.Buy ticketsAny logged user can visualize all the events created by the EventFactory contract, including all the features. From there, the user can try to buy a new ticket. This interaction calls the mint method of the corresponding Event contract and if all the conditions are met, a new NFT that represents the event ticket, is minted.Use or transfer ticketsAny logged user can view all the tickets that the connected wallet had bought or received. The user can transfer tickets to another wallet, this action calls the transfer method of the event contract. Also the user can trigger the “Use Ticket” action, this action will call a method from the event contract that will mark the ticket as “used”. This property is visible to the public and is only callable once.

Hackathon

Road to Web3

2024

Prizes

  • 🏆

    🏊 Polygon Pool Prize

Contributors