ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

fhe-x402-payment

FHE-encrypted x402 payments for OpenClaw agents. Use when the agent needs to make private on-chain payments, wrap/unwrap encrypted tokens, manage escrow jobs, register agent identity, give reputation feedback, or delegate balance viewing. Runs on Ethereum Sepolia (default) or Mainnet with Zama fhEVM. Supports three wallet modes — local private key, DFNS MPC, and Ledger hardware wallet.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/billynothack/confidential-agentic-payment-stack
Or

FHE x402 Payment Skill

Private, encrypted payments for autonomous agents on Ethereum using Zama's Fully Homomorphic Encryption (fhEVM). All payment amounts are encrypted on-chain — only the payer and payee can see them.

Quick Start

Set a wallet and RPC, then run any command:

# Minimal setup (local dev)
export USER_PRIVATE_KEY=0x...
export RPC_URL=https://sepolia.infura.io/v3/YOUR_KEY

# Check wallet info
run info

# Wrap 10 USDC into encrypted cUSDC
run wrap --amount 10

# Send 1 encrypted cUSDC
run pay --to 0xRecipient --amount 1

# Check balance (with optional decrypt)
run balance
run balance --decrypt true

Commands

Token Operations

CommandDescriptionRequired Args
wrapWrap USDC into encrypted cUSDC (ERC-7984)--amount
unwrapInitiate unwrap of cUSDC back to USDC (step 1 of 2)--amount
finalize-unwrapComplete unwrap via KMS decryption proof--handle (recommended) or --requestId --cleartextAmount --proof (legacy)
paySend encrypted cUSDC via verifier relay--to --amount
balanceCheck USDC + cUSDC balancesOptional: --decrypt true, --of 0xAddress
infoDisplay wallet, network, and contract addresses(none)

Escrow (Agentic Commerce Protocol — ERC-8183)

CommandDescriptionRequired Args
create-jobCreate an escrow job with provider + evaluator--provider --evaluator --expiry --description Optional: --hook
fund-jobEncrypt budget + fund a job (3-step TX)--jobId --amount
complete-jobApprove or reject a submitted job--jobId --action (approve/reject) Optional: --reason

Identity & Reputation (ERC-8004)

CommandDescriptionRequired Args
register-agentMint an agent identity NFT--uri
give-feedbackSubmit proof-linked reputation feedback--agentId --score --nonce Optional: --tag1 --tag2 --endpoint --feedbackURI --feedbackHash

Delegation (FHE Viewing Keys)

CommandDescriptionRequired Args
grant-viewGrant read access to your encrypted balance--delegate Optional: --hours --permanent --contract
revoke-viewRevoke a delegate's view access--delegate
view-asRead another agent's balance via delegation--delegator

Demo Orchestrators

CommandDescriptionRequired Args
research-and-visualizeChain 3 paid API calls (search + LLM + image)--query
review-and-rateBuy a code review + submit feedback--code Optional: --language --score

Wallet Modes

Set WALLET_MODE to choose explicitly, or omit for auto-detection (DFNS > user key):

Metadata

Stars4473
Views0
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-billynothack-confidential-agentic-payment-stack": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.