-
Notifications
You must be signed in to change notification settings - Fork 1k
v2 Development #482
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
Closed
Closed
v2 Development #482
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
🟡 Heimdall Review Status
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
2764374 to
614a836
Compare
6bf27da to
ce45f15
Compare
ce45f15 to
9c8d676
Compare
9c8d676 to
3b6d5e1
Compare
3b6d5e1 to
a46e4f8
Compare
Merged
3 tasks
Merged
Contributor
|
V2 is live 🚀 |
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.
x402 v2 — Development Branch
Overview
x402 v2 introduces a modular architecture separating the specification, facilitator, and SDK layers.
This branch is dedicated to building the reference SDKs as we build out v2.
All legacy Typescript x402 packages are being deprecated and replaced by these new, modularized packages.
The Python and Go packages will be completely rewritten to follow this new structure as well.
Java is being deprecated unless the community chooses to update it to v2.
Typescript Reference Package Map
The following packages should be used as references when implementing more mechanisms, middleware and client interceptors.
Testing
Current Test Coverage
The v2 implementation will include unit, integration, and e2e tests. However, to validate the reference packages and demonstrate intended usage, we have implemented two integration tests and one e2e test so far.
Integration Tests
@x402/core:x402Client,x402ResourceServiceandx402Facilitatorx402HTTPClient,x402HTTPResourceServiceandx402Facilitatorwrapped inFacilitatorClientEnd-to-End Tests
@x402/express(server) and@x402/fetch(client) are tested together@x402/evmmechanism implementationTesting Requirements
Every client and server package must have:
/e2edirectoryWe ask that PR's adding new functionality to the repo do their best to adhere to the testing standards set-out for the respective language, as well as
Roadmap
Legend
TypeScript:
@x402/core@x402/evm@x402/express@x402/fetch@x402/extensions@x402/svm@x402/hono@x402/next@x402/axios@x402/sign-in-with-xPython:
Go:
Package TODO Files
Every package contains a
TODO.mdfile that documents:You can contribute by:
Notes
@x402/evm) serves as the canonical example for mechanism design.@x402/express) demonstrates framework integration.@x402/fetch) demonstrates client interception and wrapping.@x402/extensions) demonstrates schema and extension patterns.@x402/coreprovides all shared primitives — use it as the baseline for other languages.