DeInsur is a Foundry-based project which allows authorized admin to set up different kinds of insurance plans and the respective price rate to determine an appropriate price for each policy. Users will then be able to purchase those policies with their desired expiry date and insured amount, and claim automatically in ETH in case an unfortunate incident does happen.
$ pnpm install # install all necessary packagesThis is a list of the most frequently needed commands.
Build the contracts:
$ forge buildDelete the build artifacts and cache directories:
$ forge cleanRun the tests:
$ forge testGenerate test coverage and output result to the terminal:
$ pnpm test:coverageThis project is licensed under MIT.