Skip to content

Latest commit

 

History

History
71 lines (50 loc) · 1.82 KB

README.md

File metadata and controls

71 lines (50 loc) · 1.82 KB

WorkStamp

Portable reputation for gig workers. Workers collect verified reviews from platforms like Upwork and DoorDash, anchor them on Polygon, and share a single profile link with any employer — no platform lock-in.

The Problem

Gig workers rebuild their reputation from scratch on every platform. A driver with 500 five-star rides on Uber has no way to prove that history on DoorDash. A freelancer with years of Upwork reviews starts at zero on Fiverr.

How It Works

  1. Worker connects their wallet and registers a decentralized identity (DID) on Polygon
  2. Platforms submit reviews via the WorkStamp API
  3. Each review is hashed and anchored on-chain for tamper-proof verification
  4. Worker shares one profile link — employers can verify any review independently

Stack

  • Frontend: Next.js 16, Tailwind CSS, wagmi v2, RainbowKit
  • API: FastAPI (Python)
  • Smart contract: Solidity 0.8.20, deployed on Polygon Mumbai
  • Identity: W3C DID standard (did:polygon:0x...)
  • Storage: IPFS for review content, on-chain for hashes

Running Locally

Frontend

cd frontend
npm install
npm run dev

Open http://localhost:3000

API

cd api
pip install fastapi==0.95.2 uvicorn
uvicorn main:app --reload

API runs at http://localhost:8000. Swagger docs at http://localhost:8000/docs.

Smart contract

cd contracts
npm install
npx hardhat compile

API Keys for Testing

The API accepts these demo bearer tokens:

  • ws_live_demo_key_uber
  • ws_live_demo_key_doordash
  • ws_live_demo_key_upwork

Routes

Route Description
/ Landing page
/register Connect wallet and create DID
/dashboard Worker dashboard with reviews
/profile/:address Public profile (shareable)
/verify/:address Employer verification view
/docs API documentation