fhevm-user-decryption

Installation
SKILL.md

FHE User Decryption

Use this skill when building the flow that lets a user read their own encrypted onchain values (balances, scores, private state) through the browser. This is a purely off-chain read operation. No transaction is submitted, no gas is spent, and no state changes onchain.

When To Use

  • Implementing balance display for confidential tokens
  • Building any UI that shows a user their own encrypted onchain state
  • Debugging "decryption failed" errors in the frontend
  • Reviewing whether ACL grants are sufficient for user-facing reads
  • Deciding between user decryption (read-only) and public decryption (state-changing)

Core Mental Model

User decryption is reencryption, not onchain decryption. The user signs a typed message (EIP-712), the relayer SDK uses this signature to reencrypt the handle's value under the user's public key, and the SDK decrypts it locally in the browser. No write transaction is

Related skills
Installs
11
First Seen
Apr 14, 2026