fhe-delegation
OfficialSecurely grant and revoke encrypted read access.
Authorzama-ai
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Zama-native ACL delegation enables a wallet to grant, revoke, and read encrypted FHE handles (such as cUSDC balances) by another address, with strict directional rules and propagation considerations to prevent unauthorized access or wasted transactions.
Core Features & Use Cases
- Grant-view, revoke-view, and view-as commands to manage decryption access for FHE handles.
- Support for overriding the contract address (e.g., X402PaymentVerifier) to enable facilitator audits.
- Preflight checks (isDelegated and getDelegationExpiry) to avoid unnecessary gas if delegation doesn't exist or is expired; propagation window of 1–2 minutes after grant-view before decrypt requests succeed.
- Clear guidance on on-chain vs gateway propagation and error mapping for user remediation.
Quick Start
Run grant-view to grant access to a delegate and wait 1-2 minutes before the delegate runs view-as to decrypt the balance.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: fhe-delegation Download link: https://github.com/zama-ai/confidential-agentic-payment-stack/archive/main.zip#fhe-delegation Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.