Privacy-preserving payroll platform with zero-knowledge proofs and blockchain privacy pools.
TrustNet is an enterprise-grade privacy-preserving payroll and transaction management platform that revolutionizes how organizations handle sensitive financial operations. By combining zero-knowledge cryptography with blockchain privacy pools, TrustNet enables companies to process payroll transactions while maintaining complete confidentiality without sacrificing auditability or compliance.
The platform leverages zero-knowledge proofs (ZK-SNARKs) through custom Circom circuits to verify transaction legitimacy and employee membership without revealing sensitive salary information or personal details. Built on a multi-chain architecture supporting Ethereum L2s (Base, Optimism) and Sui blockchain, TrustNet provides seamless cross-chain operations with sub-second transaction speeds.
Key features include multi-tenant SaaS architecture with ENS domain integration, secure auth-key based employee registration, real-time WebSocket-powered transaction monitoring, and comprehensive audit trails. The system employs bank-grade encryption, JWT authentication, and role-based access controls to ensure enterprise-level security.
TrustNet solves the fundamental challenge facing modern organizations: achieving full privacy for employee financial data while maintaining regulatory compliance and operational transparency. Organizations can process payroll at scale, employees maintain financial privacy, and auditors can verify compliance through selective disclosure mechanisms—all without compromising any party's requirements.
TrustNet is built on a modern full-stack architecture combining blockchain technology with enterprise-grade backend systems. The foundation is a TypeScript/Node.js Express server with Prisma ORM connected to Supabase PostgreSQL, implementing comprehensive security through Helmet.js, JWT authentication, custom rate limiting, and input sanitization middleware. The frontend uses Next.js 16 with React 19 and its built-in backend capabilities through API routes, styled with Tailwind CSS and Radix UI components, with Wagmi v3 handling wallet connectivity and ENS resolution on Ethereum mainnet. Supabase provides real-time database subscriptions and authentication layers alongside our custom backend services.
For blockchain integration, we deployed Solidity smart contracts on Base Sepolia including a PrivacyPool V2 and ZK verifier contracts compiled with Hardhat. The project includes Circom-based zero-knowledge circuits for transaction membership and amount commitments, though these currently use simplified arithmetic and need upgrading to production-grade Poseidon hashing. We've also built Sui Move contracts for employee wallets and organization registries. Real-time functionality is powered by Socket.io WebSockets that broadcast transaction updates to organization-specific rooms. Stripe integration handles SaaS subscription billing with webhook support for the tiered pricing model.
The most notable technical achievement is the multi-tenant architecture that allows organizations to manage payroll privately while maintaining audit trails. We built a Uniswap v4 hook for privacy pool integration with nullifier tracking to prevent double-spending, though the full ZK verification integration is still in progress. The system combines on-chain privacy pools with off-chain encrypted employee data, using commitment schemes where transaction details remain private but verifiable. This is an actively developed MVP with solid infrastructure foundations and a clear roadmap toward production-grade zero-knowledge privacy features.

