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.
- Solidity
- Fantom Blockchain ( Testnet )
- Web3.storage ( IPFS )
- Javascript
- ReactJS
- Redux
- HTML, CSS
- Hudlle 01
- wagmi
- connect-kit
- Remix
- EtherJS
- Clone the repisitory
git clone https://github.com/anubhav11156/Pinsurance.git
- Install the packages
npm install --force
- Start the application
npm start
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>
-
Pool.sol ( This is pool contract which is deployed by Pinsurance.sol, it deploys Pool contract everytime user make insurance pool on Pinsurnace. )