Confidential Token Distributions & Payroll
Showcase Project — This is a demonstration project by Trion Labs showcasing our expertise in Zero-Knowledge systems and protocol design. For production implementations or collaborations, contact us.
Distribute tokens to emails with ZK proofs. No wallet exposure. No identity leaks.
Zarf Protocol is a privacy-first payment and token distribution protocol that enables users to send funds or create vestings to an email address instead of a wallet address. By utilizing zero-knowledge proofs, we decouple identity from on-chain addresses, allowing for secure, anonymous, and programmable payments.
Distribute tokens without exposing recipient identities on-chain. Zarf uses advanced zero-knowledge circuits (Noir) to verify email ownership without ever revealing the email address or the link to the claiming wallet.
No wallet needed to start. Recipients receive funds via an email link and can claim them using a standard Google login. This dramatically lowers the barrier to entry for non-crypto natives.
Configure cliff periods, linear release schedules, and complex vesting terms directly in smart contracts. Zarf is not just for one-time payments; it's a robust infrastructure for payroll, grants, and token streaming.
- Off-chain ZK Proof Generation: Users generate proofs of email ownership locally in the browser or via a secure relayer.
- Smart Contracts (EVM):
- Registry: Manages trusted DKIM keys and verifiers.
- Escrow: Holds funds securely until a valid proof is submitted.
- Verifier: On-chain Groth16 verifier (generated via Noir) validates the ZK proof.
- Frontend: A seamless Svelte-based interface for sending and claiming.
- Zero-Knowledge: Noir (Project Aztec)
- Contracts: Solidity (EVM)
- Frontend: Svelte + Vite
- Interaction: Viem / Wagmi
- Noir v1.0.0-beta.17
- Node.js 18+
- pnpm
-
Install Dependencies
pnpm install
-
Build Circuits
cd circuits nargo buildGenerates the verifier contract and proving keys.
-
Run Development Server
cd web pnpm dev
Built by Trion Labs. We are a team of engineers and researchers specialized in Applied Cryptography, Zero-Knowledge Systems, and Protocol Design.
- Website: trionlabs.dev
- Email: contact@trionlabs.dev
- X (Twitter): @trionlabs