Giter VIP home page Giter VIP logo

pinsurance's Introduction

Pinsurance

Pinsurance is a blockchain-based P2P defi platform for car insurance. In this model group of individuals, friends, family or known people who are like-minded and share common interest join together and pool their resources for mutal aid, introducing a sense of control, trust, and transparency. User can create or join an Insurance Pool with peers and pool their premium in it. After joining pool, user pools the premium amount for their vehicle to the pool. After all peers pools their amount, pool become active for one year then they can mint their Policy NFT.

Policy NFT is your immutable tamper-resistant representation that you own an insurance policy. An embedded QR-Code in the NFT provides all the necessary information about your insurance policy when scanned.

Any pool member can make a Claim Request from thier pool, for this they have to provide a support document for their claim request. Claim request along with support document is broadcast to all the pool members. Pool members verifies and vote for claim request. Vote > 50% approves claim request else request is declined. Once approved the claimer can witdhraw the requested amount from the pool. In-app Video call features enables pool members to easily discuss and resolve any claim request.

Hero section

Working

working

Video Explanation

Devpost Project Page

Built with

  • Solidity
  • Fantom Blockchain ( Testnet )
  • Web3.storage ( IPFS )
  • Javascript
  • ReactJS
  • Redux
  • HTML, CSS
  • Hudlle 01
  • wagmi
  • connect-kit
  • Remix
  • EtherJS

Installation

  1. Clone the repisitory
git clone https://github.com/anubhav11156/Pinsurance.git
  1. Install the packages
npm install --force
  1. Start the application
npm start

Environment Variables

To run this dapp, you will need to add the following environment variables to your .env file

REACT_APP_WEB3_STORAGE= <web3.storage API key>

REACT_APP_PRIVATE_KEY= <Wallet private key>

Smart Contracts

  • Pinsurance.sol

  • Policy.sol

  • MockUSDC.sol

  • Pool.sol ( This is pool contract which is deployed by Pinsurance.sol, it deploys Pool contract everytime user make insurance pool on Pinsurnace. )

Screenshots

user section

pool members

policy-nft

claim requests

request claim

meeting

pinsurance's People

Contributors

anubhav11156 avatar jakedamon avatar lucidjoy avatar cheshta2381 avatar radhikathapar18 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.