Skip to content

0xgeorgemathew/rip-contracts

Repository files navigation

RIP - Remorse Insurance Protocol (Frontend Application)

A decentralized insurance protocol frontend application built with Next.js that provides zero-knowledge proof-based price protection for e-commerce purchases. Users can insure their Amazon purchases against price drops while maintaining privacy through ZK-SNARKs.

🚀 Features

Core Functionality

  • Price Protection Insurance: Insure Amazon purchases against price drops
  • Zero-Knowledge Proofs: Privacy-preserving claim verification using ZK-SNARKs
  • Browser Extension Integration: Seamless integration with RIP browser extension
  • Multi-Wallet Support: Connect with various Web3 wallets via Reown AppKit
  • Decentralized Claims: On-chain claim processing with automated payouts

User Experience

  • Interactive Animations: Lottie-based animations for better UX
  • Real-time Updates: Live order tracking and policy management
  • Responsive Design: Mobile-friendly interface
  • Sweet Alert Modals: Beautiful modal interactions for all user actions

Technical Features

  • Merkle Tree Verification: Efficient price data verification
  • Smart Contract Integration: Direct interaction with insurance vault contracts
  • IPFS Storage: Decentralized policy data storage
  • Oracle Integration: Real-time price feed integration

🛠️ Technology Stack

Frontend Framework

  • Next.js 15.5.2: React-based full-stack framework
  • React 19.0.0: Latest React with concurrent features
  • TypeScript 5.9.2: Type-safe development

Web3 & Blockchain

  • Ethers.js 6.15.0: Ethereum blockchain interaction
  • Reown AppKit 1.8.4: Multi-wallet connection
  • Wagmi 2.16.9: React hooks for Ethereum
  • SIWE 3.0.0: Sign-In with Ethereum

Zero-Knowledge Proofs

  • SnarkJS 0.7.5: ZK-SNARK proof generation and verification
  • Circomlibjs 0.1.7: Circom circuit utilities
  • Custom Circuits: Poseidon hash-based privacy circuits

UI/UX Libraries

  • SweetAlert2 11.23.0: Beautiful modal dialogs
  • Lottie-web 5.13.0: Animation rendering
  • Canvas-confetti 1.9.3: Celebration effects

State Management

  • Zustand 4.5.5: Lightweight state management
  • Jotai 2.10.7: Atomic state management
  • TanStack React Query 5.87.4: Server state management

2. Install Dependencies

About

Privacy-first price protection using ZK proofs & Ethereum Blobs - insure any purchase privately

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors