FlightSurety is a Dapp that helps manage flight delay insurance for passengers.
- Overall, manage delay insurance for passengers
- Managed as a collaboration between multiple airlines. This dapp should make be able to co-ordinate the flights and provide data for multiple airlines ?!
- Give ability for passengers to purchase the FlightSurety Insurance prior to a Flight
- If the flight is delayed due to airline fault (provided by Oracle), passengers are paid 1.5X(arbitrary number) the amount they paid for the insurance.
- Oracle provides all the flight statuses of the airlines (Could be an open API too)
- Separation of Concerns
- SHA-3 Hashing
- Event Driven Data Share
This repository contains Smart Contract code in Solidity (using Truffle), tests (also using Truffle), dApp scaffolding (using HTML, CSS and JS) and server app scaffolding.
To install, download or clone the repo, then:
npm install
truffle compile
To run truffle tests:
App: npm run test:contracts:app
npm run dapp:dev:windows
npm run dapp:dev:unix