Skip to content
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

Secp256k1 - Tweak implementation #419

Closed
mmtftr opened this issue Jan 15, 2025 · 1 comment
Closed

Secp256k1 - Tweak implementation #419

mmtftr opened this issue Jan 15, 2025 · 1 comment

Comments

@mmtftr
Copy link

mmtftr commented Jan 15, 2025

Proposal Description

Todos:

  • Implement tweaking of Agg Public Key from Merkle root (s) -- generate scalar and call secp pubkey_xonly_tweak
  • Figure out: how does the secp tweak function work? (Is it as we expect, which is Tweak(IPK, t) = IPK*
  • Figure out: how to create a signature valid for a tweaked musig2 public key?
@mmtftr
Copy link
Author

mmtftr commented Jan 16, 2025

Closing this issue as the implementation with tests were added in two commits to #405. The test demonstrates that the new key_agg_cache correctly creates a signature for the tweaked aggregate public key.

We haven't figured out the secp tweak internals but this BIP describes how tweaked multisig is supposed to work for reference.

Please refer to #339 for parent work.

@mmtftr mmtftr closed this as completed Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant