A decentralized ticketing system built on the Aptos blockchain. This project allows users to create events, purchase tickets, and manage event data securely using smart contracts.
- Event Creation: Organizers can create events with details like name, description, date, venue, capacity, and ticket price.
- Ticket Purchase: Users can purchase tickets for events using their Aptos wallets.
- Blockchain Integration: All data is stored and managed on the Aptos blockchain for transparency and security.
- Aptos CLI: Install the Aptos CLI for deploying and interacting with the Move module. Installation Guide
- Node.js: Install Node.js (v14 or later) for running the React frontend.
- Wallet: Use a compatible Aptos wallet like Petra Wallet for interacting with the app.
git clone <repository-url>
cd replicatenpm installCreate a .env file in the root directory with the following variables:
NEXT_PUBLIC_CONTRACT_ADDRESS=0x34887e4e34d592107ccfcde1fae45bff974adb498b577f40eaafc673cde385c1
NEXT_PUBLIC_NETWORK=devnet
cd move
aptos move publish --package-dir move --named-addresses aptos_ticket_system=0x34887e4e34d592107ccfcde1fae45bff974adb498b577f40eaafc673cde385c1 --profile devnet
aptos move run-script --script-path scripts/deploy.move --profile devnetnpm startThe deployed contract address is: 0x34887e4e34d592107ccfcde1fae45bff974adb498b577f40eaafc673cde385c1

- Connect your Aptos wallet (e.g., Petra Wallet)
- Create an event by providing event details
- Purchase tickets for events
- View your purchased tickets