Add BRC-166: P2PKH Payments for HTTP 402 - #231
Conversation
A wallet-less, publicly-verifiable profile for HTTP 402 settlement on BSV using plain P2PKH payments to a per-invoice address. Any BSV holder can pay (no BRC-100 wallet, BRC-42 derivation, identity key, or BEEF), and settlement is verifiable by any third party from public chain data alone. Complements x402-foundation/x402#2890 (BRC-29/42 mode) rather than competing with it. Backed by a live mainnet reference implementation at bsv.cx and a captured real settlement transaction. Adds the file to the root and payments indexes. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Some design context, and the one point I'd most like @sirdeggen's read on. Companion to #2890, not a competitor. #2890 (BRC-29/42 derived-address BEEF) gives on-chain payee unlinkability; this mode makes the payment itself publicly checkable on-chain against the challenge, which is what lets a facilitator other than the payee confirm a payment. The design question worth deciding together. x402's Two things I'd propose so the coexistence stays clean:
If you'd rather not open Conformance: headers, Drafted with substantial AI assistance (Claude), directed and reviewed by me; recorded in the commit trailers per the contributing guideline. |
A profile for HTTP 402 settlement on BSV using plain P2PKH payments to a per-invoice address. Any BSV holder can pay (no BRC-100 wallet, BRC-42 derivation, identity key, or BEEF), and settlement is verifiable by any third party from public chain data alone. Complements x402-foundation/x402#2890 (BRC-29/42 mode) rather than competing with it.
Backed by a live mainnet reference implementation at bsv.cx and a captured real settlement transaction. Adds the file to the root and payments indexes.
This pull request:
Proposes a new standard by creating a new markdown file in the appropriate directory and requests discussion
Summary
BRC-166 specifies a permissionless, self-verifying plain-P2PKH profile of the x402
exactscheme on BSV. A payer settles by signing a plain transaction paying the exact amount to a per-invoice P2PKH address; the origin, acting as its own facilitator, verifies the outputs and broadcasts it. No BRC-100 wallet, BRC-29/42 derivation, identity key, or BEEF is required - only a key holding BSV and the ability to sign a raw transaction - and because settlement is keyed off the on-chain locking script rather than a private invoice record, any third party can verify a payment from public chain data alone, without trusting the origin. It is a companion to x402#2890 (which should land first), not a competitor: BSV carries twoexactaddressing modes, selected by an explicitextra.payloadFormat.kinddiscriminator. A conforming reference implementation is live on mainnet atbsv.cx, backed by a captured real settlement transaction.