Skip to content

Mogza/Hype.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

20 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Hype. - Decentralized NFT Ticketing Platform

Note: This repository exclusively hosts the Backend and Smart Contract source code. The Android mobile application is maintained in this separate repository => https://github.com/Mogza/Hype.-mobile-app.

This project was developed as the final term project for the Mobile Programming course at Dankook University.

Hype. is a decentralized event ticketing platform. It leverages NFT technology to create fraud-proof, verifiable tickets that users truly own. Event organizers can create events, and users can purchase tickets, which are minted as unique NFTs on the blockchain.

While the core academic requirement was limited to developing a standard client-side Android application, I significantly expanded the project's scope. I decided to implement a full custom Backend and Smart Contract infrastructure to handle real decentralized data, transforming a standard assignment into a full-stack engineering challenge.

I decided to extend this university project to align with my professional journey and deep interest in Web3 development. My objective was twofold:

  • Mastering Go: I wanted to challenge myself by building a high-concurrency backend system from scratch, rather than relying on Backend-as-a-Service platforms.
  • Exploring the Abstract Chain: I am incredibly excited about the Abstract Chain ecosystem. I wanted to use this project as a sandbox to learn how to integrate mobile platforms with the Abstract network.

๐Ÿš€ Core Features

  • Decentralized Event Creation: Organizers deploy unique smart contracts for their events.
  • NFT Tickets: Each ticket is an ERC-721 token, preventing fraud and enabling a secondary market.
  • True Ownership: Users hold their tickets directly in their crypto wallets.
  • On-Chain Royalties: (Future) Enforce creator royalties on secondary sales.

Event Creation Workflow

  1. Off-chain Metadata: The organizer inputs event details on the mobile app. The Go backend receives this, uploads the image/description to storage, and returns a metadata URI.
  2. On-chain Call: The mobile app uses the metadata URI to trigger the user's wallet to call the createEvent function on the TicketFactory smart contract.
  3. Deployment: The TicketFactory deploys a new, unique EventTicket (ERC-721) contract for that event and transfers ownership to the organizer.
  4. Event Emission: The factory emits an EventCreated event with the new contract's address.
  5. Backend Indexing: The Go backend's listener service detects this event, parses the new contract address, and saves it to a local database for quick retrieval by the app.

๐Ÿ› ๏ธ Technology Stack

  • Blockchain: Abstract Chain Testnet (A ZK-EVM Layer 2)
  • Smart Contracts: Solidity
  • Contract Tooling: Foundry (foundry-zksync fork)
  • Backend: Go with Mux & GORM
  • Mobile: Kotlin (Android)

๐Ÿ“ Smart Contracts

The smart contract logic is contained within the hype-contract/ directory.

Key Contracts

  • TicketFactory.sol: The central factory contract responsible for deploying new event contracts.
  • EventTicket.sol: An ERC-721 contract representing a single event. Each instance handles the minting, supply, and finances for one event.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published