Skip to content

Add Schnorr digest signing support for P2TR addresses - #39

Merged
jonatns merged 3 commits into
mainfrom
codex/authenticated-quote-settlement
Aug 18, 2026
Merged

Add Schnorr digest signing support for P2TR addresses#39
jonatns merged 3 commits into
mainfrom
codex/authenticated-quote-settlement

Conversation

@jonatns

@jonatns jonatns commented Aug 18, 2026

Copy link
Copy Markdown
Owner
  • Introduced sign_schnorr_digest method in the Signer trait to allow signing of application-provided 32-byte BIP-340 digests.
  • Implemented the method in KeystoreSigner, ensuring it validates the P2TR address and derives the appropriate key.
  • Added message_signing capability to SignerCaps to indicate support for digest signing.
  • Created SchnorrDigestSignature struct to encapsulate the result of the signing operation, including the address, output key, and signature.

- Introduced `sign_schnorr_digest` method in the `Signer` trait to allow signing of application-provided 32-byte BIP-340 digests.
- Implemented the method in `KeystoreSigner`, ensuring it validates the P2TR address and derives the appropriate key.
- Added `message_signing` capability to `SignerCaps` to indicate support for digest signing.
- Created `SchnorrDigestSignature` struct to encapsulate the result of the signing operation, including the address, output key, and signature.
@vercel

vercel Bot commented Aug 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
labcoat-web Ready Ready Preview Aug 18, 2026 1:48am

@jonatns
jonatns merged commit 9e2a197 into main Aug 18, 2026
5 of 6 checks passed
@jonatns
jonatns deleted the codex/authenticated-quote-settlement branch August 18, 2026 01:52
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

Successfully merging this pull request may close these issues.

1 participant