fhe-payment-basics

Wrap USDC into confidential cUSDC and send encrypted payments via X402PaymentVerifier relay.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Direct-token operations on Zama-encrypted cUSDC via OpenClaw to view wallet and network info, read balances (encrypted or public), wrap plain USDC into confidential cUSDC, and send encrypted payments through the X402PaymentVerifier relay.

Core Features & Use Cases

  • Read wallet/network state with info
  • Check public and encrypted balances with balance (decrypt options available)
  • Wrap plain USDC into confidential cUSDC using wrap
  • Send encrypted payments through the verifier relay with pay

Quick Start

Use wrap to convert USDC to cUSDC, then pay a recipient with the pay command using correct --to and --amount.

Frequently Asked Questions about fhe-payment-basics

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

FAQPage Schema
How do I send encrypted cUSDC payments through a verifier relay?

Encrypted cUSDC payments are sent through the X402PaymentVerifier relay using the pay command. You need a valid RPC URL, wallet setup, correct recipient address, 6-decimal USDC precision, and secure nonce handling to execute the transaction.

What is the process to wrap plain USDC into confidential cUSDC on Zama?

Wrapping plain USDC into confidential cUSDC on Zama uses the wrap command and requires two on-chain transactions. This process converts standard tokens into Zama-encrypted assets, enabling subsequent encrypted balance queries and private payments.

Can I decrypt an encrypted cUSDC balance using OpenClaw?

You can decrypt an encrypted cUSDC balance using OpenClaw. The balance command supports decrypt options, allowing you to query and read both public and encrypted wallet state directly from your Zama-encrypted assets.

Do I need a specific RPC URL and wallet setup to manage cUSDC?

Yes, managing cUSDC requires an RPC URL and proper wallet setup. This environment configuration is necessary to interact with Zama-encrypted assets, read network and wallet info, and execute encrypted payments through the relay.

What are the limitations when executing confidential cUSDC payments?

Limitations of confidential cUSDC payments include the strict requirement for 6-decimal USDC precision and the necessity of completing two on-chain transactions for wrapping. Additionally, secure nonce handling is mandatory to prevent payment replay issues.