Repository navigation
Open
Labels
new featureNew feature or requestNew feature or request
Description
Supporting receiving for silent payments would be a very large undertaking. However, supporting sending should be relatively pretty trivial.
Tracking issues for SP sending support:
Single party payments:
All inputs are signed by the same entity (MuSig considered here)
Upstream
- Add "silentpayments" module implementing BIP352 (take 4, limited to full-node scanning) bitcoin-core/secp256k1#1765
- Add BIP 352 bindings (full node scanning only) rust-bitcoin/rust-secp256k1#876
- Add support for PSBTv2 rust-bitcoin/rust-bitcoin#3507 12: Unplanned because
rust-psbtwill replacebitcoin::psbt - Silent payments addresses (BIP352) rust-bitcoin/rust-bitcoin#2778
Local
- bdk_wallet coin select for SP inputs, single key types (
p2wpkh,p2pkh) - bdk_wallet coin select for SP inputs, always uses key path spend for TR SP inputs (
p2trkey path spend)
Multi party payments and hardware signers:
The inputs should be signed by different entities (e.g. CoinJoin)
Upstream
- Add DLEQ proof implementing BIP 374 bitcoin-core/secp256k1#1802 345
- rust-secp256k1 with DLEQ module (
rust-dleqis a candidate to fill this gap). 6 - rust-bitcoin/rust-psbt#45
Local
- bdk workspace and dependencies upgrade to DLEQ support
Extras:
- RBF support: The removal of any input used to compute a silent payment output, or the addition of any new input included in the BIP 352: Inputs for Shared Secret Derivation requires the re-computation of the silent payment output.
- TRUC Transactions: Allow wallets without eligible outputs to create silent payment transactions to create a zero fee transaction with a key path spend taproot transaction to create a silent payment output using the first transaction output as input.
- rust-libsecp256k1 with MuSig2 and FROST support
- rust-miniscript with MuSig2 and FROST support
- bdk_wallet coin select for SP inputs, aggregate key types (MuSig2, FROST)
Footnotes
-
BlockStream/secp256k1-zkp implementation exposed for BitBox ↩
-
NUT12 DLEQ cashubtc/cdk#65 (Cashu Development Kit DLEQ Implementation in Rust) ↩
Reacted by Samuel
Reacted by Samuel
Metadata
Metadata
Assignees
Labels
new featureNew feature or requestNew feature or request
Type
Projects
- StatusShow more project fieldsTriage
Activity
LLFourn commentedon Sep 11, 2023
Although sending has less moving parts I'm less sure what's the right API inside transaction building system (mostly because we haven't re-designed transaction building yet). With receiving I know precisely how to approach it (as a new tx graph index) so I'd be tempted to do receiving first and leave sending until later. Of course the basic function to produce a silent payment tx would be needed at the same time as the receiving code which would allow you to manually construct a silent payment tx. We could consider upstreaming this to rust-bitcoin also.
This would go all go in
bdk_chainwithbdk_tx_buildproving more user friendly API coming later (when it exists).realeinherjar commentedon Sep 12, 2023
This BIP is recent and still with a lot of comments addressing implementation details, e.g. bitcoin/bips#1458 (comment).
evanlinjin commentedon Sep 15, 2023
I think Steven was mostly addressing HOW the BIP should be structured, not WHAT was specified in the BIP.
LLFourn commentedon Sep 18, 2023
While implementing it we might be able to contribute to the BIP if we find places it could be improved.
notmandatory commentedon Nov 13, 2023
I assigned this to the 1.1 alpha release, but we may need to move it to 2.0 depending on priorities and who's available/able to work on this.
sethforprivacy commentedon May 16, 2024
Traction behind Silent Payments is rapidly growing, with two wallets releasing with full Silent Payments support this week. The most important step for their traction to continue is that wallets simply add the ability to send to Silent Payment addresses (as this PR is for) so that there is proper incentive for receiving to be added to wallets, exchanges, etc.
I started a bounty for this PR to be completed on X, and am offering 100k sats to the dev who's PR solves this issue (total bounty of 870k sats thanks to others on X).
Would be amazing for all BDK wallets to be able to trivially enable sending to Silent Payment addresses!
sethforprivacy commentedon May 17, 2024
Note that a crate for Silent Payment support already exists here:
https://github.com/cygnet3/rust-silentpayments
storopoli commentedon May 22, 2024
The parsing of a SP address is being discussed upstream here rust-bitcoin/rust-bitcoin#2778
junderw commentedon Jun 2, 2024
I think this should wait for
silentpaymentsmodule bitcoin-core/secp256k1#1519rust-silentpaymentscrate is a great prototype, but it is weak to timing attacks.cygnet3 commentedon Jun 3, 2024
This should be mitigated in v0.3.0. If you find other weaknesses or oversights, please let us know!
Having said that, I agree that the purpose of
rust-silentpaymentsis somewhat obsolete once the silentpayments module is added tosecp256k1. Perhaps we will transition to become a more high-level silent payments utility library. Either way, we will rewriterust-silentpaymentsto work on top of thesilentpaymentsmodule once that is finalized.junderw commentedon Jun 3, 2024
I see you just released this about an hour ago. Nice!
notmandatory commentedon Aug 13, 2024
Tracking issues for SP sending support:
silentpaymentsmodule bitcoin-core/secp256k1#1519))Related issues
notmandatory commentedon Jan 14, 2025
I moved the above tracking checklist to the description of this issue.
stevenroose commentedon Feb 2, 2026
Any update on SP support in BDK?
luisschwab commentedon Feb 2, 2026
@stevenroose see the
bdk-spcrate.nymius commentedon Feb 2, 2026
Hello @stevenroose,
bdk-spis an experimental project which demonstrates how to send, how to receive and how to spend silent payment outputs in a very hacky way.I developed it as a base to lay down the components needed by a stable implementation to work with BDK, and I'm using it now as a reference.
SP sending in BDK requires the following:
For 1, BIP 375 support has been recently added to rust-psbt.
For 2, there is a BIP 374 PR which implements the DLEQ proof required by BIP 375.
For 3, address parsing has been isolated in the
feat/full-libbranch frombdk-spAn asterisk (*) to all this is that BDK now depends of the
bitcoin::psbtcrate for its non silentpayment applications, so it has to first move frombitcoin::psbttorust-psbt.Now I'm focusing on (*) and on the coin-selection side (4).
Consider the
libsecp256k1PR for silent payments isn't merged yet, although we already have rust-bindings for it in rust-bitcoin/rust-secp256k1#876.BIP 374 PR has not bindings yet.
This is key because no implementation will move forward in BDK without the cryptographic support from libsecp256k1.
nymius commentedon Feb 2, 2026
I've updated the issue with the latest PR references and removed the less accountable steps.
github-actions commentedon Aug 24, 2026
This issue has been inactive for 180 days and labeled stale, comment to keep it open. It will be closed in 30 days if there is no activity.
nymius commentedon Aug 24, 2026
This is in progress.
startupcompliancekit commentedon Oct 30, 2026
@nymius @notmandatory Would a separate contribution covering single-party Silent Payment transaction rebuilding and regression tests fit alongside the ongoing PSBT and coin-selection work?
Proposed scope: test that changing an eligible input recomputes the Silent Payment output, including fee-bump/RBF cases; cover P2PKH/P2WPKH inputs and Taproot key-path selection; and document the supported boundaries. I would target the active integration branch, with any implementation changes limited to an agreed scope. Any PR would follow the project's signed-commit and testing requirements.
Before implementation, could you confirm whether this slice is available, the target branch and acceptance checks, and whether the bounty sponsors would allocate a specific BTC amount to it? The public bounty page lists 0.011 BTC for completed sending support; a separately payable portion and current funding have not been confirmed.
nymius commentedon Oct 30, 2026
You mean silent payment transaction building?
This vocabulary is too broad and lacks substance. If you (I'm assuming human) have the knowledge to do it, your PR is welcomed.
I'm already working on it. As a new contributor, I would say your time is more valuable reviewing PRs than opening new ones, particularly for those that may overlap with other ongoing efforts.
I don't represent the person offering the bounty, so I cannot speak of his intentions As far as I understand from the text, the bounty can't be split and the only way to claim it is to provide full sending support through PRs merged in BDK projects.
As the person championing the silentpayments effort in BDK, I won't engage reviewing PRs that don't consider the current BDK architecture
in favor of introducing a feature, or which I consider extractive: https://llvm.org/docs/AIToolPolicy.html#extractive-contributions