fhe-x402-payment

Encrypt on-chain payment amounts for OpenClaw agents using Zama fhEVM.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/zama-ai/confidential-agentic-payment-stack --skill fhe-x402-payment
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fhe-x402-payment
Source: https://github.com/zama-ai/confidential-agentic-payment-stack/tree/main/clawhub-skill
Command: npx skills add https://github.com/zama-ai/confidential-agentic-payment-stack --skill fhe-x402-payment

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ethers, and includes scripts (resource) components.

What problem does it solve?

Private on-chain payments for autonomous agents using Zama fhEVM. All payment amounts are encrypted on-chain — only the payer and payee can see them.

Core Features & Use Cases

  • Encrypted wrapping/unwrapping of tokens (ERC-7984) for confidential transfers
  • Escrow and agentic commerce workflows (ERC-8183) with encrypted budgets
  • Identity registration (ERC-8004) and proof-linked reputation
  • Delegation-based balance viewing (FHE viewing keys) with multi-wallet support
  • Supports Sepolia and Mainnet with DFNS, user keys, or Ledger hardware wallets

Quick Start

Set up a wallet and RPC, then try a basic private-payment workflow to encrypt a token, wrap it, and perform a confidential transfer.

Frequently Asked Questions about fhe-x402-payment

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I keep on-chain payment amounts confidential for autonomous agents?

You can keep on-chain payment amounts confidential for autonomous agents by encrypting transactions using Zama fhEVM. This ensures that only the payer and payee can see the actual payment values on-chain.

How do I set up encrypted escrow and agentic commerce workflows on fhEVM?

Encrypted escrow and agentic commerce workflows are handled via the ERC-8183 standard with encrypted budgets. You can configure these workflows on Sepolia and Mainnet using DFNS, user keys, or Ledger hardware wallets.

Can I use hardware wallets like Ledger for encrypted fhEVM payments?

Yes, Ledger hardware wallets are supported for encrypted fhEVM payments. The system also integrates with DFNS and user keys to provide multi-wallet support across Sepolia and Mainnet networks.

What is the best way to manage agent identity and reputation with private payments?

Managing agent identity and reputation with private payments uses ERC-8004 for identity registration and proof-linked reputation feedback. This integrates directly with encrypted token transfers to maintain confidentiality.

How do I allow delegated viewing of encrypted balances across multiple wallets?

Delegated viewing of encrypted balances across multiple wallets is achieved using FHE viewing keys. This allows specific delegates to decrypt and view balance information without exposing the underlying payment amounts publicly.

Does this approach support wrapping and unwrapping tokens for confidential transfers?

Yes, it supports encrypted wrapping and unwrapping of tokens using the ERC-7984 standard. This mechanism enables confidential token transfers by keeping the wrapped amounts hidden on the blockchain.