Skip to main content

Welcome to TokenOps

TokenOps is a suite of confidential token operations for EVM chains. Vest, airdrop, and disperse tokens while keeping amounts encrypted on-chain — powered by Fully Homomorphic Encryption (FHE) on Zama's fhEVM.

Allocations and transfer amounts live on-chain as euint64 ciphertexts: never revealed publicly, yet still verifiable and composable. The TokenOps SDK handles the encryption, EIP-712 signing, and ACL plumbing for you, so you can ship confidential flows with a typed, viem-first API.

Where to start

New here?

Begin with the TokenOps SDK — install it, understand the architecture, and run your first confidential operation in minutes.

Prefer to read code?

Runnable, end-to-end examples for the confidential airdrop and disperse flows.

Distribution primitives

Three confidential building blocks, each with a typed SDK client and React hooks:

Confidential Vesting

Per-token vesting managers with encrypted allocations, EIP-712 transfers, and selective disclosure to auditors.

Highlights:
  • Encrypted euint64 allocations & schedules
  • EIP-712 manager transfers
  • Selective disclosure to auditors
  • Per-token manager clones

Confidential Airdrop

Per-campaign distributions with EIP-712 admin-signed claims and recipient-bound encrypted allocations.

Highlights:
  • Admin-signed claim authorization
  • Recipient-bound ciphertexts
  • Per-campaign LibClone instances
  • Gas or token fee models

Confidential Disperse

Bulk ERC-7984 distributions with encrypted per-recipient amounts in a single call.

Highlights:
  • Bulk encrypted transfers
  • Preflight validation
  • Wallet, token-fee & direct modes
  • Encrypted fee reserve

Build with the SDK

TokenOps SDK

A typed, viem-first TypeScript library that abstracts FHE encryption, key management, and contract calls behind a clean API — with React hooks for frontends and a full generated API reference.

Includes:
  • Typed clients for every primitive
  • React hooks for frontend flows
  • End-to-end FHE input encryption handled for you
  • Complete typedoc API reference

Help & resources