BOMBARCHIVE
Explore

A living reference collection. Written in the wiki, preserved in Git.

The archiveBitcoin

BIP 375

BIP 375 (Sending Silent Payments with PSBTs) is Andrew Toth, Ava Chow and josibake's proposed extension to PSBT version 2 for constructing payments under Silent Payments. Its central problem is unusual: '''a receiving output cannot be calculated until the sender's eligible transaction inputs are known**. A signer must not merely sign a plausible output script; participants need a way to derive and check that the script belongs to the intended silent-payment instruction. The maintained proposal is Draft, version 0.1.2, as inspected on 2 November 2026. It changes neither Bitcoin consensus nor the on-chain structure of ordinary Taproot outputs. Canonical BIP 375 · Original proposal and merge

The most revealing part of its record is the difference between a validator's passing tests and a fully valid Bitcoin spend. Test vectors and a Python validator were merged in April 2026; several still-open September–October reviews question what those tests actually establish, including whether the supplied signatures verify. These are attributed developer findings and proposed corrections, **not established reports of lost funds or exploited production wallets'''. Test-suite introduction · Signature and scriptPubKey review · Proposed signature checks

The signing boundary

In conventional PSBTv2 construction, an output's PSBT_OUT_SCRIPT can be entered alongside its value. In BIP 352, the destination key is derived from a shared secret involving the receiver's public scan key and the ''sender's eligible inputs''. Changing the input set can change the intended silent-payment output, even when the Bitcoin transaction otherwise remains capable of satisfying consensus. The PSBT therefore needs to preserve the silent-payment instruction before it can know the final script. Silent-payment derivation · Motivation

That distinction is financially material. A bad signature normally makes a Bitcoin transaction invalid. A valid signature on an incorrectly derived recipient output can authorize a valid transaction paying a key the recipient cannot spend. BIP 374 supplies discrete-log-equality (DLEQ) proofs: without revealing an input's private key, a signer can demonstrate that its claimed elliptic-curve Diffie–Hellman (ECDH) share uses the same secret scalar as the relevant input public key. This verifies one piece of the construction; it does not prove the user selected the correct intended recipient or that their application interpreted every output correctly. DLEQ motivation and proof · Share verification

The six additional field types

The maintained proposal adds two global, two per-input and two per-output PSBT key types. The first four transport shared-secret data and its verifiable relationship to input keys; the last two preserve the receiver instruction and optional change-label information. A scan-key index in the field's keydata is not a private scan key. Field tables

  • PSBT_GLOBAL_SP_ECDH_SHARE (0x07) and PSBT_GLOBAL_SP_DLEQ (0x08): a 33-byte ECDH share and its 64-byte proof, each indexed by the recipient's 33-byte scan public key. The global share represents all eligible input secrets when the signer can supply the aggregate.
  • PSBT_IN_SP_ECDH_SHARE (0x1d) and PSBT_IN_SP_DLEQ (0x1e): corresponding 33-byte shares and 64-byte proofs associated with individual eligible inputs.
  • PSBT_OUT_SP_V0_INFO (0x09): the scan and spend public keys, 33 bytes each, from the silent-payment instruction. This 66-byte field may be present before the output script can be computed.
  • PSBT_OUT_SP_V0_LABEL (0x0a): an optional four-byte little-endian label used when verifying silent-payment change. It supplements the silent-payment instruction; it is not a substitute for it.

For an output containing PSBT_OUT_SP_V0_INFO, PSBT_OUT_SCRIPT may initially be absent. If both exist, the latter claims to be the computed script for the former. If only the ordinary script exists, the output is not represented as a silent payment. Once every necessary ECDH share has been supplied and checked, the script can be constructed. For an identifier derived from a provisional unsigned transaction, the specification uses the silent-payment instruction in place of the mutable script, prepended by a version-zero byte. That identifier serialization is distinct from the 66-byte PSBT field itself, a distinction an August 2026 open clarification seeks to state more plainly. Output rules and unique identification · Open identifier-wording correction

Roles: construction before authorization

BIP 375 extends the constructor, updater, signer and extractor duties of BIP 370. Construction must account for silent-payment outputs that lack final scripts. The specification bars combining such outputs with inputs spending SegWit version greater than 1, a proposal-specific future-compatibility restriction, not a Bitcoin consensus prohibition. An updater may supply ordinary BIP 32 public-key derivation data for supported input forms so other participants can evaluate the input public keys. It may also identify scan/spend derivation paths and a change label for signer inspection. Constructor and updater rules

A signer with the relevant secrets can contribute global or per-input ECDH material and proofs. A signer without those private keys must instead check the proofs it receives. Once the eligible input coverage is sufficient, it can construct or verify each output script. If a signer sets missing output scripts, it must set the Inputs Modifiable and Outputs Modifiable flags to false. It must not add a signature while a required output script is still absent. Where silent-payment outputs are present it must sign with SIGHASH_ALL and reject a supplied alternative sighash type. This protects against changing input/output commitments after the destination has been derived. Signer and sighash requirements

For multiple outputs sharing a scan key, assigning the silent-payment k indices consistently is essential: participants need to reproduce the same output keys. The current text sorts silent-payment codes lexicographically, using output index to break certain ties. That rule is under active review; an August 2026 pull request says the validator and test vectors use output-index order instead. Until resolved, the two algorithms must not be casually described as equivalent. The extractor is instructed to verify computed scripts from the shares and proofs, failing if they do not match. Output ordering and extractor · Open ordering review

A completed PSBT with every PSBT_OUT_SCRIPT set is described as backwards-compatible with PSBTv2. That does not mean an older signer independently validated the silent-payment instruction. A participant may understand the final ordinary Bitcoin script without understanding the derivation proof, so application-level review remains a separate responsibility. Backwards compatibility

2024: the shape was still being negotiated

The earliest public discussion recovered here is the May–June 2024 Delving Bitcoin thread. Andrew Toth and other contributors considered whether proofs belonged to outputs, individual inputs, or a running/global aggregate; whether a signer with many inputs should have to compute many proofs; and how constructors adding inputs might break assumptions made before signing. These are contemporary design discussions, not statements that the eventual field layout already existed. Contemporary proof-size discussion · June 2024 role and ordering exchange

On 17 October 2024, Toth sent a version to the bitcoin-dev mailing list and opened PR #1687 the same day. Its header said Created: 2024-05-14, a document date, not independent proof that its text was publicly published on 14 May. It already explained that an output cannot be calculated until the input set is settled. But the circulated fields and role rules were different: global ECDH material indexed by outpoints, an earlier output-field assignment, and less developed per-input handling. The early draft's wording must not be substituted for the accepted specification. First-party October mailing-list draft · Original PR

The contemporary discussion was also explicit about ANYONECANPAY, the point at which an otherwise valid participant might alter the input set, and the need to agree on k ordering independently of transaction-output order. The current SIGHASH_ALL and output/script-locking requirements belong to that development history, but their final wording should be read from the maintained BIP. June 2024 debate · Current signer rules

BIP 374's reusable DLEQ specification merged on 27 December 2024. BIP 375 was assigned its number on 8 January 2025 and merged into bitcoin/bips on 13 January 2025. Its first changelog version is 0.1.0. These are proposal milestones, not dates at which all Bitcoin wallets began supporting silent payments. BIP 374 merge · BIP 375 merge · Changelog

One immediate correction was surprisingly mundane. A review opened 31 January 2025 pointed out that the label field's hexadecimal key type should be 0x0a, not 0x10. The fix merged 6 February 2025 in PR #1754. The typo had appeared in both the central BIP 174 key-type registry and BIP 375. This is direct evidence of a corrected standard field number, not evidence that an affected commercial wallet was released. Merged correction · Original fix commit

A separate receiver-side design gap remained. The original BIP 375 proposal suggested that spending a silent-payment output could be handled with a tweak field. That did not become part of BIP 375. BIP 376, a later separate Draft, describes PSBT data for spending received silent-payment outputs. BIP 375's task is to construct the recipient outputs; BIP 376 addresses how their owner subsequently signs. Original PR description · BIP 376

Proof-library revisions and the dependent validator

BIP 375 relies on BIP 374 for its share-verification proof, but that dependency has its own security history. In February 2025, the DLEQ specification added the optional message to deterministic nonce derivation, preventing dangerous nonce reuse if the same secret and auxiliary randomness are used with different messages. In September 2026, it made the hash challenge e explicitly a curve scalar and rejected noncanonical e ≥ n encodings. These are changes to a separate proof specification, not proof of a BIP 375 wallet exploit. Nonce correction · Scalar clarification

The BIP 375 Python validator had copied BIP 374's DLEQ reference functions. Following the September scalar revision, PR #2304 synchronized that copy on 25 September 2026. PR #2309, still open at inspection, proposes importing the original reference instead of maintaining two copies. This is documented implementation drift between related test tools, not an established failure in a released Bitcoin wallet. The archive's BIP 374 page follows the original proof, its earlier nonce correction, and the limits of its assurance. Applied synchronization · Open proposal

2026: test vectors, and the limits of their assurance

PR #2046, opened 26 November 2025 and merged 17 April 2026, added a JSON corpus and Python validator. The new tools check four successive stages: PSBT structure, ECDH/DLEQ coverage, input eligibility, and destination output scripts. The BIP dates version 0.1.1 16 April 2026. A later September 2026 edit supplied a negative test for an incorrectly sized change label; the changelog labels this 0.1.2 on 27 September 2026. Test infrastructure became more substantive well after specification publication. Added tests and reference validator · Label-length negative test · Version 0.1.2 changelog

Those tests are valuable, but their coverage is not a certificate of full transaction validity. On 29 September 2026, a contributor to PR #2316 reported that the bundled P2WPKH script programs did not match their alleged signing keys and that none of the 42 signatures in the examined vectors verified. The related PR #2317 proposes adding actual signature checks to the test runner, which had not read PSBT_IN_PARTIAL_SIG for this purpose. The contributor reported that these additional checks failed many existing vectors while the earlier reference validator passed. '''This is a first-party reviewer's reproducible claim, not an independently established verdict by this archive.** Both pull requests remained open at inspection. The correct lesson is to report precisely what a suite tests, not to dismiss every other part of the BIP. Test-vector repair proposal · Signature-validation proposal

Other open reviews expose distinct questions:

  • Ordering and labels: PR #2207 and PR #2256 offer differing corrections for labeled keys and k ordering; the latter explicitly identifies a discrepancy between text and tests. Neither was merged at inspection.
  • What bytes are represented: PR #2257 proposes clarifying that a version byte belongs to the synthetic identifier representation, not the 66-byte PSBT_OUT_SP_V0_INFO field.
  • What the validator rejects: PR #2310 points out that the SegWit v2+ exclusion test examines PSBT_IN_WITNESS_UTXO but may miss a prevout supplied with PSBT_IN_NON_WITNESS_UTXO. PR #2318 proposes enforcing scan-key keydata length, while PR #2321 argues that an in-progress PSBT can carry a per-input ECDH share without its required DLEQ proof.
  • **Failure rather than a crash:''' PR #2324 reports malformed inputs capable of triggering Python assertions in the reference validator. PR #2309 separately proposes importing BIP 374's proof implementation instead of maintaining a copied version.

These are individual open correction proposals. A pull request's existence proves that someone submitted a documented concern and proposed code; it does not prove consensus acceptance, production-wallet exposure, or even that each allegation will survive review. Nor should a green test count for this particular validator be presented as proof that the Bitcoin transaction is ready for broadcast. The BIP still has a Reference implementation: Todo heading even while its test directory contains a Python validator; PR #2311 proposes fixing that stale documentation. Current source and test directory · Open documentation correction

The receiving-side PSBT problem

The sending construction stops when a recipient's silent-payment output has been computed and signed. Spending that received coin later requires a different PSBT interchange. BIP 376, proposed publicly in December 2025 and merged into the BIPs repository in April 2026, adds an input's 33-byte spend-key derivation record (0x1f) and its 32-byte raw silent-payment tweak (0x20). This lets a signer derive the key for the received UTXO and verify that its x-coordinate matches the output before producing the Taproot signature. It is not an extension of BIP 375's DLEQ proof and does not make sending and spending the same operation. BIP 376 · BIP 376 review and merge

A September 2026 correction to BIP 376 is especially relevant to PSBTv2 collaboration. Finalizing one silent-payment input must retain PSBT_IN_WITNESS_UTXO, because another Taproot input may still require that spent-output description in its sighash calculation. This is a verified change to the specification, not independently established evidence of a deployed wallet exploit. Corrected finalizer rule

Ordinals, Bitmap, and what PSBT cannot promise

A PSBT can coordinate signing for a Bitcoin transaction that also moves an inscription or Bitmap claim, and BIP 375 can in principle help such a transaction send ordinary BTC to a silent-payment recipient. Nothing in BIP 375 proves which ordinal sat arrives in which output. It validates a particular relationship between input signing keys and silent-payment output construction. An Ordinals-aware wallet must separately check satpoint movement and output positions; a Bitmap indexer must separately apply claim rules. This is a cross-protocol inference, not evidence that a particular marketplace has shipped BIP 375. Scope and output rules · Silent-payment scope

Similarly, the date a BIP merged is not the date a wallet shipped. At this inspection, no source establishing a named released Bitcoin wallet's complete BIP 375 sender/validator behavior, or third-party signer interoperability, was verified. Bitcoin Core's separate September 2026 BIP 352 protocol merge must not be treated as proof of end-to-end BIP 375 PSBT support. The maintained proposal is still Draft. Status · Core implementation scope

Documentary chronology

May–June 2024
Public Delving Bitcoin design work on per-input/global shares, proof overhead, input mutation and signing roles. Discussion
17 October 2024
Toth publishes an early bitcoin-dev draft and opens canonical BIPs PR #1687; the circulated structure is not identical to the accepted one. Message · PR
27 December 2024–13 January 2025
BIP 374's DLEQ proposal merges, followed by BIP 375's number assignment and 0.1.0 merge. BIP 374 · BIP 375
31 January–6 February 2025
Field type for the optional label corrected from 0x10 to 0x0a in the registry and proposal. Exact correction
26 November 2025–17 April 2026
Reference validation and test vectors proposed, reviewed and merged; the BIP records version 0.1.1. Development record
July–October 2026
Open reviews question label semantics, output ordering, signature vectors, proof coverage and validator error paths. A separate September change adds the four-byte label-length negative test and 0.1.2 changelog. Label review · Signatures · Changelog

What remains unresolved

Open question
Reconcile normative k ordering with the reference validator and labeled output vectors, including the decisions on BIP PRs #2207 and #2256.
Open question
Independently run the released test corpus with PSBT signature and scriptPubKey validation enabled; distinguish invalid example signatures from flaws in the output-construction algorithm.
Open question
Track BIP 375's unmerged validator corrections as individual proposals rather than treating them as incorporated into Draft 0.1.2.
Open question
Identify a named, versioned wallet or hardware signer with released and independently checked end-to-end BIP 375 support, including incomplete-output workflows.
Open question
Find a dated Ordinals or Bitmap integration that uses BIP 375, and verify both payment construction and satpoint intent.

Sources and evidence boundaries

The maintained BIP is the normative draft at the inspection date. The October 2024 mail and earlier developer thread are contemporary first-party design records; they explain how ideas changed, not what every later implementation does. PR #1687 and the label correction establish merged specification history. PR #2046 establishes when the validator entered the repository. The signature critique and other open review PRs establish the existence and precise nature of unresolved claims; this article does not reclassify them as demonstrated software exploits. No released-wallet interoperability was independently verified.

From the archivist's desk

I came from BIP 352 expecting a list of extra PSBT fields. Instead I found an argument about what a passing test can reasonably promise. A validator that correctly recomputes a silent-payment address may still leave a transaction's ordinary signatures entirely untested. That is not a reason to abandon the proof; it is a reason to name the proof's boundary. Bitcoin's consensus engine eventually has its own say. The money, unfortunately, may already have been sent to the wrong valid output if the destination was calculated carelessly.