Skip to content

kprohith/open-ticket

Repository files navigation

open-ticket

NFT Event Ticketing System

pages-build-deployment

Get started

  1. Clone the repo to your local system
git clone https://github.com/kprohith/open-ticket.git
  1. Open the directory
cd open-ticket
  1. Install the required node modules
yarn install
  1. Create a file in the root dir called .env.development.local and set the value of REACT_APP_CONTRACT_ID
REACT_APP_CONTRACT_ID=<contract address from etherscan>
  1. Start the development server
yarn start

Functionality implemented until now:

  1. Components

    1. A starter-template homepage that shows a buy button to buy a ticket.
    2. A Connect/Disconnect button to interface with Metamask wallets.
    3. Admin-accessible Check In page to verify ownership of user tickets/nfts.
    4. Admin-accessible Settings page to OPEN/CLOSE sale of tickets.
    5. Your Tickets page to show the user's tickets/nfts.
    6. Navigation bar that dynamically shows pages available based on users wallet address.
  2. The process of "buying" a ticket will mint an ERC721 NFT.

  3. Metamask has been integrated for users to connect and perform transactions.

  4. Once a user connects their Metamask wallet using the connect button, they can proceed to BUY a ticket, pay the transaction fee and secure a ticket which will result in a NFT being minted and written to the blockchain.

  5. The user can then go to the Your Tickets page to check their ticket.

  6. The user can sort their tickets by newest, oldest and alphabetical order.

  7. Only Admin (owner of the smart contract) can open/close sales.

  8. In browser toast pop-ups direct to Etherscan to verify transactions on the blockchain.

  9. Ownership of NFTs can be verify on OpenSea.

  10. Admins can scan the wallet QR code of a user to verify ownership of the ticket and Check in the user.

  11. Once checked-in, the metadata of the ticket on the blockchain is updated to show that the user has checked in.