Skip to content

Docs: x402 CLI v1.0.1/v1.0.2 updates (Base, GasFree, Agent Wallet payer) - #82

Merged
Will-Guan merged 7 commits into
mainfrom
Refactor
Aug 5, 2026
Merged

Docs: x402 CLI v1.0.1/v1.0.2 updates (Base, GasFree, Agent Wallet payer)#82
Will-Guan merged 7 commits into
mainfrom
Refactor

Conversation

@jizhen181-dot

Copy link
Copy Markdown
Collaborator

Summary

Documents x402 CLI v1.0.1 and v1.0.2 across CLI docs, API Catalog
reference, Agent Wallet developer docs, and the changelog. All pages
updated in both en and zh-Hans.

x402 CLI docs (docs/x402/cli/, 5 pages)

  • Switch all examples to canonical CAIP-2 network IDs
    (tron:0xcd8690dc etc.); legacy aliases like tron:nile are now
    rejected by schema validation
  • Add Base support: eip155:8453 / eip155:84532 with USDC,
    settling via EIP-3009 (vs Permit2 on TRON/BSC)
  • Agent Wallet is now the default payer for pay — no private key
    in env vars; documents the no-active-wallet failure mode
  • Document TRON GasFree scheme (exact_gasfree): relayer pays
    energy, fee deducted from payment token, no TRX needed

API Catalog reference

  • New assetTransferMethod route field (permit2 / eip3009;
    omitted on GasFree routes)
  • GasFree route rules: TRON-only, legacy fee / feeConfig fields
    must not be published
  • Base mainnet added to supported networks (catalog publishes
    mainnet routes only; CLI also supports Sepolia)

Agent Wallet developer docs

  • CLI Reference: non-interactive wallet-type subcommand form for
    start / add (local_secure / raw_secret / privy) with
    full option table — for CI and background services

Changelog

  • Jul 30 — x402 CLI v1.0.2: Base USDC, Agent Wallet default payer,
    paid requests no longer follow HTTP redirects (keeps
    PAYMENT-SIGNATURE on the original origin)
  • Jul 20 — x402 CLI v1.0.1: TRON GasFree, canonical CAIP-2,
    settled vs delivered reporting

Misc

  • Bump docs version to 1.3.16

Testing

  • yarn build passes locally for both locales (en, zh-Hans)

jizhen181-dot and others added 7 commits July 31, 2026 15:12
- CLI docs: canonical CAIP-2 network IDs, Base USDC (EIP-3009),
  Agent Wallet as default payer, TRON GasFree scheme
- API Catalog reference: assetTransferMethod field, GasFree route
  rules, Base network entries
- Changelog: add Jul 20 (v1.0.1) and Jul 30 (v1.0.2) entries
- All updated in both en and zh-Hans

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- Clarify Base catalog scope: mainnet routes only (eip155:8453);
  CLI supports both mainnet and Sepolia
- Agent Wallet CLI: document wallet-type subcommand form for
  non-interactive start/add (local_secure / raw_secret / privy)
- SDK Guide and x402 CLI page touch-ups
- Updated in both en and zh-Hans

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Base support is documented as mainnet-only (eip155:8453): drop the
Sepolia network/alias table rows, EVM_RPC_URL_84532 mentions, testnet
advice, and changelog claims, in both en and zh-Hans.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Will-Guan
Will-Guan merged commit 8951681 into main Aug 5, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants