-
Notifications
You must be signed in to change notification settings - Fork 842
v2: Clean up paywall #710
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
v2: Clean up paywall #710
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
bbd81f2 to
729bdd2
Compare
avidreder
approved these changes
Dec 3, 2025
Remove Onramp functionality from EvmPaywall Remove Coinbase fields from paywall template generation
7a8e23f to
4b0f73d
Compare
CarsonRoscoe
pushed a commit
that referenced
this pull request
Dec 5, 2025
* Remove cdpClientKey and sessionTokenEndpoint from PaywallConfig Remove Onramp functionality from EvmPaywall Remove Coinbase fields from paywall template generation * Migrate site to @x402/next with v2 protocol support * Clean up tests * remove CDP onramp from core paywall * Update templates and build process * Format * Lockfile * mock templates for CI * Format * Generate new templates * Format
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Clean up paywall package and remove Coinbase Onramp integration
Summary
This PR simplifies the paywall package by removing the unified paywall in favor of network-specific paywalls (EVM and SVM), removes the Coinbase Onramp integration, and updates the build process to generate templates for all supported languages.
Changes
Paywall Architecture
paywall.tsandbuild.tsin favor of separate EVM and SVM paywall implementationsPaywallBuilder.build()now requires explicit network handlers via.withNetwork()and throws an error if none are registeredgetPaywallHtmlexport from the packageCoinbase Onramp Removal
cdpClientKeyandsessionTokenEndpointfromPaywallConfigacross TypeScript, Python, and GouseOnrampSessionTokenhook andutils.tscontaininggenerateOnrampSessionTokenEvmPaywallcomponentCross-Language Template Generation
evm_paywall_template.py,svm_paywall_template.py) and Go (evm_paywall_template.go,svm_paywall_template.go)solana:uses SVM, others use EVM)paywall.htmltemplate from PythonOther Improvements
EvmPaywall,SolanaPaywall) from network handler modulesChecklist