Skip to content

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.

License

Notifications You must be signed in to change notification settings

0xdevant/DeInsur

Repository files navigation

DeInsur Github Actions Foundry License: MIT

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.

Getting Started

$ pnpm install # install all necessary packages

Usage

This is a list of the most frequently needed commands.

Build

Build the contracts:

$ forge build

Clean

Delete the build artifacts and cache directories:

$ forge clean

Test

Run the tests:

$ forge test

Generate test coverage and output result to the terminal:

$ pnpm test:coverage

License

This project is licensed under MIT.

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published