Skip to content

A real-world use case of a decentralized application (Dapp) is one that allows passengers to automatically receive a payout if their flight is canceled. This type of Dapp leverages blockchain technology and smart contracts to provide a transparent, secure, and efficient solution for passengers facing flight disruptions

Notifications You must be signed in to change notification settings

akinsikuoluwafemi/Flight-Surety

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Flight Surety App

Flight Surety App is a decentralized application (DApp) built on the Ethereum blockchain. It facilitates airline registration, fetching flight status, and handling insurance payouts to passengers. The application is designed to demonstrate various smart contract interactions and functionalities.

Features

  • Airline Registration: Airlines can register themselves by funding the contract with the required amount.

  • Fetch Flight Status: Users can fetch the status of a flight by providing the flight details. The result is a status code indicating whether the flight is On Time, Cancelled, or has other statuses.

  • Insurance Payouts: In case of a cancelled flight, passengers receive a payout to their wallet.

  • Wallet Withdrawal: Passengers can withdraw funds from their wallet.

Getting Started

Prerequisites

  • Node.js and npm installed on your machine.
  • Truffle installed globally: npm install -g truffle
  • Ganache or any Ethereum client for local development.

Installation

  1. Clone the repository:

    git clone https://github.com/akinsikuoluwafemi/Flight-Surety.git
    

2: cd frontend to start the frontend or cd server to start the server.

About

A real-world use case of a decentralized application (Dapp) is one that allows passengers to automatically receive a payout if their flight is canceled. This type of Dapp leverages blockchain technology and smart contracts to provide a transparent, secure, and efficient solution for passengers facing flight disruptions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published