Skip to content

sh4d0wy/FortiFi

Repository files navigation

FortiFi: Decentralized Insurance Protocol

FortiFi is a next-generation decentralized insurance protocol built on blockchain technology, offering transparent, efficient, and automated insurance solutions for digital assets and smart contracts.

🌟 Overview

FortiFi revolutionizes traditional insurance by leveraging blockchain technology to create a trustless, automated insurance ecosystem. Users can create insurance pools, purchase policies, and process claims without intermediaries, all while ensuring maximum transparency and efficiency.

🔑 Key Features

  • Decentralized Insurance Pools: Create and manage insurance pools with customizable parameters
  • Automated Policy Management: Smart contract-based policy issuance and management
  • Transparent Claims Processing: Verifiable claims assessment and processing
  • Liquidity Provider Incentives: Earn rewards by providing liquidity to insurance pools

🔄 System Architecture

graph TD
    A[User Interface] --> B[Smart Contracts]
    B --> C[Insurance Pools]
    B --> D[Policy Management]
    B --> E[Claims Processing]
    C --> F[Liquidity Providers]
    D --> G[Policy Holders]
    E --> H[Claims Verification]
    F --> I[Rewards Distribution]
    G --> E
    H --> J[Claim Resolution]
Loading

🌊 Insurance Flow

┌──────────────┐     ┌──────────────┐     ┌──────────────┐
│   Create     │     │   Purchase   │     │   Submit     │
│    Pool      │ --> │   Policy     │ --> │   Claim      │
└──────────────┘     └──────────────┘     └──────────────┘
       ↑                    │                    │
       │                    ↓                    ↓
┌──────────────┐     ┌──────────────┐     ┌──────────────┐
│  Liquidity   │     │   Active     │     │   Verify     │
│  Providers   │     │  Coverage    │     │   Claim      │
└──────────────┘     └──────────────┘     └──────────────┘
                                                │
                                                ↓
                                         ┌──────────────┐
                                         │  Process     │
                                         │  Payout      │
                                         └──────────────┘

🛠 Technology Stack

  • Frontend: Next.js, TailwindCSS, Framer Motion
  • Blockchain: Ethereum, Solidity
  • Web3 Integration: Wagmi, Ethers.js
  • Storage: IPFS (for claim documents)
  • UI Components: Custom-built with modern design principles

🚀 Getting Started

  1. Clone the repository:
git clone https://github.com/sh4d0wy/FortiFi.git
cd FortiFi
  1. Install dependencies:
npm install
  1. Set up environment variables:
cp .env.example
  1. Run the development server:
npm run dev

💻 Smart Contract Deployment

  1. Configure your network in hardhat.config.js
  2. Deploy contracts:
npx hardhat run scripts/deploy.js --network <your-network>

Deployments

  1. Demo
  2. SafeToken Contract
  3. InsurancePool Contract
  4. PolicyManager Contract

Releases

No releases published

Packages

No packages published