Back to projects
DeFi · Insurance

SafeCircles

Peer-to-peer microinsurance for trusted groups

Contracts
3
Role
Team Lead
Team
2 developers
Chain
Monad Testnet

Overview

SafeCircles brings affordable, community-run insurance to emerging markets where formal cover for phones, equipment, and property is out of reach.

Members pool weekly contributions; when something goes wrong they file a claim backed by watermarked photo evidence, and the circle votes on the payout. Governance is fully on-chain.

I led a two-person team during a one-day Monad hackathon, owning the contracts, the fraud-prevention model, and the mobile-first evidence flow.

Key highlights

  • 3-contract system: SafeUSD (testnet ERC-20 with faucet cooldown), SafeCircleFactory (discovery/indexing), and the core SafeCircle logic.
  • Six-layer fraud prevention: admin-gated joins, before/after photos, camera-only capture, automatic watermarking, multi-evidence timers, and reputation tracking.
  • Democratic parameter governance — members propose and vote on contribution and claim limits.
  • 52-week cycle management with fund distribution or rollover, plus forfeiture rules that prevent payout-and-exit gaming.

What it does

  • Watermarked evidence (challenge code + timestamp + address burned into each image, unskippable)
  • Two-stage claim resolution with quorum extension before approval or rejection
  • Before/after photo comparison UI so voters judge claims fairly
  • Mobile-first capture flow — desktop users are routed to mobile via QR code
  • 7-day admin ghost-rescue so applicants are never locked in by an absent admin

Tech stack

Solidity 0.8.24Foundry (cancun, optimizer 200)OpenZeppelinNext.js (App Router)wagmi + viemPinata IPFSTailwind CSSMonad Testnet