A decentralized insurance contract for delayed flights, using Chainlink Functions.
Chainlink Functions was the main technology being used in the project.
- Install Foundry.
- Run
make install
to install the git hooks. - Copy the ".env.example" file and rename it to ".env", filling the variables
- Make sure your wallet is funded with link, ETH and you are on Sepolia
In order to run the complete flow of buying an insurance to getting refunded, we have 6 stepsm
$ make step-1
You can provide liquitidy to earn the yield when the flights don't delay.
$ make step-2
Now you select a flight to be covered if it gets delayed
$ make step-3
Access this website and follow the steps
$ make step-4
$ make step-5
That's it, have great trips!