You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(cli): add --network flag, human-readable network names, and audit fixes
- Add --network flag (fetch + mcp) for hard network filtering with clear
error when unavailable ("Available: Solana, Base")
- Display "Base"/"Solana" instead of raw CAIP-2 IDs in payment output
- Use wildcard scheme registration (eip155:*, solana:*) via SDK helpers
- Derive solanaAddress for --solana-key flag and env var sources
- Port balance auto-detection to MCP command
- Fix MCP payment history: add amount, to, correct network access
- Remove debug prefix stripping from payment amounts
- Show USDC balances with 4 decimal places
Copy file name to clipboardExpand all lines: packages/x402-proxy/CHANGELOG.md
+17-1Lines changed: 17 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [Unreleased]
9
9
10
+
## [0.4.0] - 2026-03-13
11
+
12
+
### Added
13
+
-`--network` flag for `fetch` and `mcp` commands - hard filter that requires a specific network (base, solana, or CAIP-2 ID), fails with clear error if unavailable
14
+
- Human-readable network names in payment output ("Base", "Solana" instead of "eip155:8453")
15
+
-`displayNetwork()` exported from library for mapping CAIP-2 IDs to display names
16
+
17
+
### Fixed
18
+
- Wildcard scheme registration (`eip155:*`, `solana:*`) via SDK helpers - payment signing now works for any EVM chain a server requests, not just Base
19
+
- Solana address derivation for `--solana-key` flag and `X402_PROXY_WALLET_SOLANA_KEY` env var - balance detection, wallet display, and history recording were broken without it
20
+
- MCP command now auto-detects preferred network based on USDC balance (same fix previously applied to `fetch`)
21
+
- MCP payment history records now include `amount`, `to`, and correct `network` (removed fragile type cast)
22
+
- Removed debug prefix stripping from payment amounts in handler
0 commit comments