Loading video player...
CipherGift is a confidential gift-packet protocol on Zama FHEVM. Senders create on-chain red envelopes where per-share amounts, claim records, and vault balances stay encrypted under fully homomorphic encryption. Validators, block explorers, and even other claimers see ciphertext ā only the intended recipient can decrypt their slice. Same primitive generalizes naturally into private payroll, bonus splits, and confidential allowlist airdrops. š§© Four packet types ⢠EQUAL ā every claimer gets total / shares ⢠RANDOM ā each share drawn under FHE, capped under FHE, last claimer takes the residual ⢠TARGETED ā only addresses on a Merkle allowlist can claim ⢠PASSWORD ā equal-split gated by a shared secret š Tech stack ⢠Solidity + @fhevm/solidity 0.11.1 (FHE.fromExternal, add/sub/div/rem, allow/allowThis, randEuint64, select, makePubliclyDecryptable) ⢠Foundry + forge-fhevm test suite ⢠Next.js 15 + wagmi 2 + RainbowKit 2 + @zama-fhe/react-sdk 3 ⢠Optional indexer (viem + Hono) and The Graph subgraph