Skip to content

feat: add Zcash (shielded) network support#1990

Open
Zk-nd3r wants to merge 1 commit intox402-foundation:mainfrom
Zk-nd3r:feat/zcash-network-support
Open

feat: add Zcash (shielded) network support#1990
Zk-nd3r wants to merge 1 commit intox402-foundation:mainfrom
Zk-nd3r:feat/zcash-network-support

Conversation

@Zk-nd3r
Copy link
Copy Markdown

@Zk-nd3r Zk-nd3r commented Apr 10, 2026

Summary

Adds Zcash as the first shielded settlement option for x402. Includes a mechanism module stub at typescript/packages/mechanisms/zcash/ with network configuration and payment proof types.

Why

x402 currently supports 8 chains, all with transparent ledgers. Zcash adds shielded settlement: agents can pay for HTTP resources without revealing transaction amounts or addresses on-chain. Relevant for agent treasury flows, privacy compliance, and selective disclosure.

What this PR adds

  • typescript/packages/mechanisms/zcash/src/index.ts — network config (CAIP-2: zcash:mainnet), asset definition (ZEC, 8 decimals), payment proof type
  • typescript/packages/mechanisms/zcash/README.md — architecture overview and integration path

Full facilitator

The complete Zcash x402 facilitator is available as a standalone package: @frontiercompute/zcash-402 (MCP server with 4 tools: pay_resource, check_balance, verify_receipt, list_payments).

Payment verification uses the Zcash encrypted memo field for payment ID matching, unlike EVM/SVM which use on-chain event logs.

Network details

  • CAIP-2: zcash:mainnet
  • RPC: Zebra JSON-RPC (default localhost:8232)
  • Asset: ZEC (8 decimals, native)
  • Settlement: shielded memo-based matching
  • Optional: ZAP1 Merkle attestation receipts for auditability

adds zcash mechanism module with network config and payment proof type.
full facilitator at @frontiercompute/zcash-402 (npm).
zcash is the first shielded settlement option for x402.
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 10, 2026

@Zk-nd3r is attempting to deploy a commit to the Coinbase Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions bot added typescript sdk Changes to core v2 packages labels Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sdk Changes to core v2 packages typescript

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant