FairPay

Freelancers get ghosted; platforms take 20%. FairPay fixes work with trustless milestone escrow.

FairPay

Created At

ETHGlobal Mumbai

Project Description

Freelancers lose billions every year to ghosting clients, delayed payments, and predatory Web2 platforms that extract 10% to 20% platform fees while holding funds in opaque, centralized accounts. At the same time, clients live in fear of paying upfront and receiving incomplete work or abandoned projects.

FairPay solves this crisis of trust with a non-custodial milestone escrow and decentralized RFP protocol:

  1. Trustless USDC Escrow: Clients lock payments upfront into smart contracts on Arc Testnet using Circle USDC. The contractor knows the money is guaranteed before writing a single line of code, while the client knows funds are only disbursed when agreed milestone deliverables are verified.

  2. Zero Custody Risk & Zero Intermediary Fees: No centralized intermediary can freeze accounts or take a 20% cut. Payouts trigger atomically from smart contracts directly into the freelancer's wallet.

  3. Cryptographic Agreement Verification: Both parties digitally sign milestone scopes off-chain using gasless EIP-191 signatures. The agreement hash is locked on-chain, eliminating arbitrary scope creep or revision disputes.

  4. Auto-Expiring RFP Board on Arkiv: Clients publish short-term job proposals to Arkiv Network’s DB-Chain. Unlike traditional boards cluttered with inactive "ghost jobs," FairPay RFPs automatically prune themselves on-chain once the application deadline passes.

How it's Made

FairPay is built with Next.js 16 (App Router), Tailwind CSS, TypeScript, and a modern Web3 architecture across three core layers:

  1. Settlement Layer (Arc Testnet USDC): We deployed FairPayStableEscrow.sol on Arc Testnet (Chain ID 5042002) utilizing Circle USDC and OpenZeppelin’s SafeERC20. The contract manages the complete milestone lifecycle: deposit lockup, milestone completion submissions, client release triggers, and automated timeout refunds.

  2. Ephemeral RFP Layer (Arkiv DB-Chain): We integrated Arkiv Network's Rabdi testnet (Chain ID 7794095) using @arkiv-network/sdk. FairPay stores live freelance postings as on-chain entities with native protocol-level ExpirationTime TTLs (24h to 7d). When an RFP expires or is fulfilled, Arkiv's consensus layer prunes it without manual transaction overhead or state bloat. Our frontend directly queries the DB-chain with SQL-like filters without needing separate graph indexing.

  3. Gasless Auth & Reactive State (Convex): We built an off-chain coordination engine using Convex. Users sign in gaslessly via EIP-191 (Sign-In with Ethereum). Deliverables and scopes generate canonical Keccak-256 agreement hashes, ensuring dispute-free verification before funds are released on-chain.

background image mobile

Join the mailing list

Get the latest news and updates