Giter VIP home page Giter VIP logo

eventticket's Introduction

ETKN

EventTicket: Event Sales

Team members:

Justin Gouin, Sinan Colpan, Carolina Corona, Chimdike Ihe, Dave Dwarakan


Contents:

Objective:

EventTicket is a decentralized application that offers a blockchain solution for ticket providers. It offers customers the benefits and security of the ERC-721 standard. In our system, an NFT represents an event ticket (ETCKT token) which is essentially transferred to the purchaser. The system also allows potential buyers to purchase tickets that have already been purchased, directly from the owner. Purchase offers can be controlled by limiting the amount of resales for a particular event and the price increases can be set by the event organizers to limit or control ticket scalping.

Technologies, platforms and libraries used:

  • Solidity
  • Remix
  • OpenZeppelin
  • Python
  • Jupyter notebook
  • web3 py
  • Infura
  • Rinkeby testnet
  • Ganache
  • Metamask

z


Video Demo

HERE


UML:

UML


Process flow:

Minting

minting

Buying a ticket from the vendor

buyingfromvendor

Buying a ticket from another user

offertouser

Collecting a refund

colecting-refund

Accepting an offer from another user

accepting_offer

Rejecting an offer

rejecting_offer

Deployment:

  1. Compile and deploy the contract on the Rinkeby testnet using Remix.

  2. Copy the address of the contract and paste it under EVENTTICKET_ADDRESS in env.txt.

  3. Copy the private key of the account you used to deploy your contract and paste it under ACCT_PRIV_KEY in env.txt.

  4. Rename the env.txt file to .env

  5. Run jupyter notebook and open the EventTicket notebook.

  6. Once connected, try to run thorugh the purchase scenarios from the process flows above. Enjoy!

  7. If interested in how web3 is helping us connect to the contract on the blockchain, have a look through our helper code ticket.py here.

eventticket's People

Contributors

jusgou avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.