Gm guys
DripPay is a privacy-first onchain payroll system built with Zama’s fhEVM. Employers can
create organizations, add employees with encrypted salaries, and run batch payroll - all while
keeping individual salaries and transactions fully confidential using TFHE.
Live Demo: drip-payy.xyz
What it does:
- Employer creates an organization (deploys a payroll contract on Sepolia)
- Adds employees with FHE-encrypted salaries - amounts are encrypted client-side before
hitting the chain - Runs batch payroll with one click - the contract calls FHE.add(balance, salary) entirely on
ciphertext - Employees auto-discover their orgs on wallet connect and decrypt their own balance with an
EIP-712 signature - Employer can reveal total payroll cost, check budget sufficiency, and update salaries - all
on encrypted values
Key FHE features:
- FHE.add for payroll execution on encrypted balances
- FHE.sub for encrypted withdrawals with FHE.le balance checks
- FHE.fromExternal for encrypted salary input from client
- Encrypted total payroll cost (FHE.add across all salaries)
- Confidential budget check (FHE.le comparing encrypted total vs contract balance)
- Batch salary reveal with one wallet signature using userDecrypt
- FHE.allow / FHE.allowThis for per-employee ACL on salary and balance handles
Additional features:
- Salary updates (re-encrypt and update any employee’s salary)
- Encrypted payslips and receipts (per payroll run, printable as PDF)
- Full transaction history export (PDF and CSV)
- Interactive demo walkthrough (no wallet needed)
- Employee auto-discovery via factory registry
- Multi-currency USD estimates (live ETH/USD price)
Deployed on: Ethereum Sepolia
Would love feedback from the Zama community!