-
Notifications
You must be signed in to change notification settings - Fork 363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for sending to silent payments #1114
Comments
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 |
This BIP is recent and still with a lot of comments addressing implementation details, e.g. bitcoin/bips#1458 (comment). |
I think Steven was mostly addressing HOW the BIP should be structured, not WHAT was specified in the BIP. |
While implementing it we might be able to contribute to the BIP if we find places it could be improved. |
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. |
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! |
Note that a crate for Silent Payment support already exists here: |
The parsing of a SP address is being discussed upstream here rust-bitcoin/rust-bitcoin#2778 |
I think this should wait for
|
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 |
I see you just released this about an hour ago. Nice! |
Tracking issues for SP sending support:
Related issues
|
I moved the above tracking checklist to the description of this issue. |
bitcoin/bips#1458
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:
Upstream
silentpayments
module bitcoin-core/secp256k1#1519Local
p2wpkh
,p2pkh
)p2tr
key path spend)Multi party payments and hardware signers:
Upstream
Local
Extras:
Footnotes
PSBT SP Spec Delving Bitcoin Post ↩
BIP 375 Draft ↩
rust-psbt-v2 ↩
DLEQ Spec Github Gist ↩
BlockStream/secp256k1-zkp implementation ↩
BlockStream/secp256k1-zkp implementation exposed for BitBox ↩
NUT12 DLEQ cashubtc/cdk#65 (Cashu Development Kit DLEQ Implementation in Rust) ↩
The text was updated successfully, but these errors were encountered: