Repository navigation
Conversation
Extend BSV exact with reusable maximum authorization and delayed actual amounts. Specify transaction commitments, terminal evidence, and the enforcement boundaries requiring review.
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
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.
Description
Add the BSV
uptonetwork specification alongsideexact: the payer authorizes a maximum once, the recipient determines the actual service amount after execution, and one terminal transaction settles the authorization. Its complete Atomic BEEF is returned to the payer through the existing settlement response. Application streaming can reuse the cap signatures across complete conflicting candidates; it does not introduce a scheme, session, or extra x402 round trip.Scope: only
specs/schemes/upto/scheme_upto_bsv.md. No implementation, generic specification, or exact behavior changes are included.Fork review and merge boundary
This Draft targets bsv-blockchain/x402, not x402-foundation/x402. It is the first of two sequential contributions; the TypeScript implementation remains local while this specification is reviewed.
The temporary base is
feat/bsv-exact-schemeatdf5fdb3ce5573da40f0eea5eb92e4078c7f18fad, so the review shows only this specification. The fork'smaindoes not yet contain BSV exact. Do not merge this Draft into the current base while it is the head of the existing upstream exact PR (number 2890): doing so would expand that PR. Before merge, retarget to a separate BSV integration branch at the same exact baseline, or to the appropriate branch after exact has landed. No review request or upstream-ready claim is made.Protocol decision
Does this enforcement split satisfy generic
upto?E. Conforming verification enforces service amountA <= M; normallyE > Msupplies fee headroom. A malicious control-key holder can construct a Script-valid allocation aboveM, up toE.payTo; cap signatures do not covenant the later recipient outputs.nLockTime.If the generic scheme requires Script to prevent all three violations, this proposed profile does not meet that requirement. This PR does not amend the generic specification to grant itself an exception.
Atomic single-use coordination and authenticated recipient-controlled settlement are deployment requirements. Uncertain selection fails closed; there is no business-response recovery or exactly-once wallet-effect promise. Transaction possession and propagation incentives are background assumptions, not proof of wallet acceptance or reliable data retention.
Tests
uptoand BSVexactspecifications are unchanged.Checklist
Significant AI assistance was used for drafting and independent local review. Human author verification remains required before requesting non-Draft review.