spec: propose split scheme for multi-party payment distribution
#1087
+311
−0
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.
Summary
Proposes a new
splitscheme for x402 that enables atomic multi-party payment distribution via on-chain splitter contracts.Related: #937
Problem
The current
exactscheme transfers to a singlepayToaddress. Many real-world use cases require splitting payments between multiple parties:Today, platforms handle this either off-chain (accounting only) or via custom contracts (like Postera's hardcoded 90/10 splitter). A standardized scheme would let any x402 client automatically pay into multi-party splits.
What's Included
specs/schemes/split/scheme_split.mdPaymentRequirementsformat withextra.recipientsarrayIPaymentSplitter)exactschemespecs/schemes/split/scheme_split_evm.mdDesign Decisions
tx.tomay be EntryPointNext Steps
Per CONTRIBUTING.md, submitting the spec first for review. Once the spec is approved, I'll follow up with:
PaymentSplitter.solcontract@x402/evmsplit mechanism)Happy to iterate on the spec based on feedback from the x402 Foundation team.