About
## Wave 5 submission
💸 FlowLedger - Web3 Payroll on Polygon
🎯 WHAT WE BUILT
A production-ready decentralized payroll system that enables employers to pay workers instantly using USDC on Polygon. No more 3-5 day bank transfers or 3-7% cross-border fees!
⚡ WHY POLYGON? • Ultra-low fees: $0.01 per transaction (vs $50 on Ethereum) • Lightning fast: 2-3 second finality • Native USDC: Circle's official stablecoin, no bridge risks • Enterprise-ready: Same network used by Starbucks, Nike, Reddit
📜 DEPLOYED SMART CONTRACTS (Polygon Mainnet)
✅ PayRequests: 0xe7ed29937EA32BC8e3F910409bcf9680E27B9f9E → Create, approve, reject, and pay payment requests
✅ PayrollEscrow: 0xa0B6E018C036f8C7F2aBe3095CADe7954EAa4f81 → Secure batch payments for multiple workers
✅ IdentityRegistry: 0x1cA44D55950922C64a81334cEDE9aa81C240a4e6 → Worker identity verification system
✅ FeeManager: 0x0D85592De2c91F39E13712965144029da7a60b3b → Platform fee management
✅ Attestations: 0xB5fFeB1a0558377a7c99559Cdc5eB2A8A7F8fc2a → On-chain payment proofs
🖥️ APPLICATION PAGES
Employer Portal:
• Dashboard - USDC balance, stats, payment history • Workers - Manage team with wallet addresses • New Payroll - Batch pay multiple workers • Payment Requests - Create shareable payment links • Export - CSV reports for accounting • Search - Find any transaction instantly
Worker Portal:
• Dashboard - View incoming payments • Request Payment - Submit requests to employers • History - Complete on-chain verification
🔐 KEY FEATURES
• Walletless onboarding via Dynamic.xyz (email signup) • Multi-wallet support (MetaMask, WalletConnect, Coinbase) • 90% gas savings with memo hashing • Batch operations for efficiency • Offline-first with IndexedDB storage • Real-time gas estimation
🛠️ TECH STACK
React 18 + TypeScript + Vite + Tailwind CSS + wagmi v2 + viem + Dynamic.xyz + Solidity 0.8.20 + OpenZeppelin
📊 GAS SAVINGS: 99.9%
USDC Transfer: $5 → $0.005 Create Request: $15 → $0.01 Batch Payroll (10 workers): $50 → $0.05
🔗 LINKS
live: https://flow-ledger-pi.vercel.app
🚀 Built for borderless, instant, low-cost payroll on Polygon!
## Wave 6 submission
FlowLedger — Production Web3 Payroll on Polygon
FlowLedger is a production-deployed decentralized payroll and payment platform on Polygon Mainnet. Employers pay workers in USDC with ~$0.01 fees, 2-second finality, and full on-chain transparency. 8 smart contracts deployed, 20+ pages, offline-first storage, walletless onboarding via Dynamic.xyz.
Live Smart Contracts (Polygon Mainnet, Chain ID 137):
Core Contracts:
- PayrollEscrow: 0xa0B6E018C036f8C7F2aBe3095CADe7954EAa4f81 (Batch payroll, escrow, claims, disputes, revocation) - PayRequests: 0xe7ed29937EA32BC8e3F910409bcf9680E27B9f9E (Payment requests with approval workflow) - IdentityRegistry: 0x1cA44D55950922C64a81334cEDE9aa81C240a4e6 (On-chain identity with IPFS metadata) - FeeManager: 0x0D85592De2c91F39E13712965144029da7a60b3b (Protocol fees, 0.5% default) - Attestations: 0xB5fFeB1a0558377a7c99559Cdc5eB2A8A7F8fc2a (On-chain payment proofs)
Wave 6 New Contracts:
- Streaming: 0x847169EC1463c493F663cF76Bd1cC283B185be0B (Linear USDC streaming for continuous payroll) - Bounties: 0x7c8B4B5eC17e0B641909ca686cA6E4F7e5967cA9 (On-chain bounty board with submissions) - Multisig: 0x99dfa41b6614e170A46D1DEbB12fB7C6f9779b6f (N-of-M payroll approval, auto-execute)
Wave 6 Updates:
New Smart Contracts: Deployed 3 new contracts — Streaming for real-time USDC salary streams where workers withdraw accrued amounts, Bounties for task marketplace where employers deposit and workers submit proof for approval, Multisig for team-based payroll with threshold signatures and auto-execution.
New Pages (10+): Stream management for employer and worker, Bounty board for employer and worker, Multisig teams and proposals, Analytics dashboard with payment volume charts, spending trends, top recipients, and cumulative analysis using Recharts.
Infrastructure Fixes: Rewrote all 5 existing ABIs to match deployed Solidity contracts. Fixed all 13 page files with correct function names and argument types. Added explicit gas limits on all 29 writeContract calls (100k-500k). Hardcoded fallback contract addresses so the app never fails on missing env vars. Integrated Polygonscan REST API for reliable transaction history. Implemented event polling via Alchemy . Added safe BigInt conversions preventing decimal string crashes. Built smooth page transitions with Framer Motion AnimatePresence. Removed all full-page reloads for pure SPA navigation.
Features: Employer portal with 14 pages (Dashboard, Workers, Batch Payroll, Requests Inbox, Request Payment, Disputes, History, Identity, Streams, Bounties, Multisig, Analytics, Export, Settings). Worker portal with 6 pages (Dashboard, Claim Payment, History, Streams, Bounties, Settings). Public pages (Landing, Search, Transaction Details, Shareable Payslip).
live: https://flow-ledger-pi.vercel.app/
video: https://youtu.be/aYkv_tH8RVo
Prizes
- Wave 6 grant · 45 USDC
From the public Akindo product page. Votes, swipes and the judge score are hackfeed's own.





