Giter Site home page Giter Site logo

eng-ibrahimelgammal / ticketsdapp_blockchan Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 550 KB

The Decentralized Ticket Purchasing System is a blockchain-based application that enables secure and transparent ticket purchases using Ethereum cryptocurrency. This system revolutionizes the ticketing process, ensuring trust and security for buyers and sellers through smart contracts.

License: MIT License

JavaScript 78.83% HTML 7.64% CSS 1.67% Solidity 11.86%
dapp-blockchan

ticketsdapp_blockchan's Introduction

Decentralized Ticket Purchasing System

Overview

The Decentralized Ticket Purchasing System is a blockchain-based application built on the Ethereum platform. It allows users to securely purchase tickets using Ethereum cryptocurrency. The system provides a transparent and immutable ticket purchasing process, ensuring trust and security for both buyers and sellers.

Features

  • Smart Contracts: Implemented in Solidity, the smart contracts manage ticket creation, pricing, and purchasing.
  • Local Blockchain: Ganache is used to simulate a local blockchain environment for development and testing.
  • Web3 Integration: Web3.js is used to interact with the Ethereum blockchain from the frontend.
  • MetaMask Integration: MetaMask is used for account management and transaction signing.

Installation

  1. Install Ganache: Download and install Ganache from the Truffle Suite.
  2. Install Truffle: Install Truffle globally using npm: npm install -g truffle.
  3. Clone Repository: Clone the repository to your local machine: git clone https://github.com/Eng-IbrahimElgammal/TicketsDapp_Blockchan.git.
  4. Install Dependencies: Install project dependencies using npm: npm install.

Usage

  1. Start Ganache: Launch Ganache and create a new workspace.
  2. Compile Contracts: Compile the Solidity smart contracts: truffle compile.
  3. Deploy Contracts: Deploy the contracts to Ganache: truffle migrate --network development.
  4. Start Frontend: Open index.html in a web browser to interact with the frontend.
  5. Connect MetaMask: Configure MetaMask to connect to the local Ganache network.
  6. Purchase Tickets: Enter the number of tickets to purchase and confirm the transaction in MetaMask.
  7. Check Ticket Balance: View the updated ticket balance in the frontend.

Technologies Used

  • Ganache
  • Truffle
  • Solidity
  • Web3.js
  • MetaMask

Contributing

Contributions are welcome! Fork the repository and submit a pull request.

License

This project is licensed under the MIT License.

ticketsdapp_blockchan's People

Contributors

eng-ibrahimelgammal 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.