Skip to content

feat(x402): full browser wallet paywall via @x402/paywall#7

Merged
j4ys0n merged 2 commits into
mainfrom
new-abis
Jul 9, 2026
Merged

feat(x402): full browser wallet paywall via @x402/paywall#7
j4ys0n merged 2 commits into
mainfrom
new-abis

Conversation

@j4ys0n

@j4ys0n j4ys0n commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Browsers hitting protected endpoints now get the real wallet-connect payment UI (connect wallet, pay USDC on Base, auto-retry with the payment header) instead of @x402/core's bare fallback page.

  • @x402/paywall pinned to 2.4.0 (must match the @x402/core 2.4.x generation; newer paywall releases changed the integration API)
  • provider wired via @missionsquad/x402-proxy@0.1.1's new paywall config: createPaywall().withNetwork(evmPaywall).build(), appName AgentIndex; testnet mode is derived from the default network by x402-proxy
  • ambient type shim for @x402/paywall (its types are only reachable through the package.json exports map, which moduleResolution "node" cannot read; Node resolves the runtime require through exports without issue)

Verified end-to-end: unpaid browser request returns 402 with the 1.88MB wallet UI bundle, AgentIndex branding, testnet:false for Base mainnet.

j4ys0n and others added 2 commits July 8, 2026 22:09
Browsers hitting protected endpoints now get the real wallet-connect payment
UI (connect wallet, pay USDC on Base, auto-retry with the payment header)
instead of @x402/core's bare fallback page.

- @x402/paywall pinned to 2.4.0 (must match the @x402/core 2.4.x generation;
  newer paywall releases changed the integration API)
- provider wired via @missionsquad/x402-proxy@0.1.1's new paywall config:
  createPaywall().withNetwork(evmPaywall).build(), appName AgentIndex;
  testnet mode is derived from the default network by x402-proxy
- ambient type shim for @x402/paywall (its types are only reachable through
  the package.json exports map, which moduleResolution "node" cannot read;
  Node resolves the runtime require through exports without issue)

Verified end-to-end: unpaid browser request returns 402 with the 1.88MB
wallet UI bundle, AgentIndex branding, testnet:false for Base mainnet.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@j4ys0n j4ys0n merged commit f4e63fe into main Jul 9, 2026
1 check passed
@j4ys0n j4ys0n deleted the new-abis branch July 9, 2026 04:18
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.

1 participant