Skip to content

Conversation

@phdargen
Copy link
Contributor

Description

  • Fixes paywall UI that wasn't rendered, similar to 5939a78 for go
  • Adds new paywall builder pattern similar to TS paywall provider for more customization:
from x402.http.paywall import create_paywall, evm_paywall, svm_paywall
paywall = (
    create_paywall()
    .with_network(evm_paywall)
    .with_network(svm_paywall)
    .with_config(app_name="x402 Paywall Demo", testnet=True)
    .build()
)
app.add_middleware(
    PaymentMiddlewareASGI,
    routes=routes,
    server=server,
    paywall_provider=paywall,
)

Tests

Checklist

  • I have formatted and linted my code
  • All new and existing tests pass
  • My commits are signed (required for merge) -- you may need to rebase if you initially pushed unsigned commits

@vercel
Copy link

vercel bot commented Jan 13, 2026

@phdargen 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 python labels Jan 13, 2026
@phdargen phdargen assigned phdargen and CarsonRoscoe and unassigned phdargen Jan 13, 2026
@CarsonRoscoe CarsonRoscoe merged commit 9c872e7 into coinbase:feat/python-v2-sdk Jan 14, 2026
13 of 14 checks passed
adarshswaminath added a commit to adarshswaminath/x402 that referenced this pull request Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python sdk Changes to core v2 packages typescript

Development

Successfully merging this pull request may close these issues.

2 participants