Skip to content

feat(sdk-core): add EdDSA MPCv2 DSG helpers and DKG key-share util#8687

Open
Marzooqa wants to merge 1 commit intomasterfrom
WCI-153
Open

feat(sdk-core): add EdDSA MPCv2 DSG helpers and DKG key-share util#8687
Marzooqa wants to merge 1 commit intomasterfrom
WCI-153

Conversation

@Marzooqa
Copy link
Copy Markdown
Contributor

@Marzooqa Marzooqa commented May 5, 2026

  • Add getEddsaSignatureShareRound{1,2,3} and verifyBitGoEddsaMessageRound{1,2} helpers in sdk-core for building/verifying PGP-signed MPS broadcast messages
  • Parameterise partyId/otherSignerPartyId (defaults: user=0, bitgo=2) to support non-user signers without hardcoding
  • Wire eddsaMpcV2 type in sendSignatureShareV2 (common.ts)
  • Export helpers as EddsaMPCv2Utils from sdk-core public index
  • Add generateEdDsaDKGKeyShares to sdk-lib-mpc MPSUtil (mirrors DklsUtils for ECDSA)
  • Add unit tests covering all 5 helpers using io-ts decodeWithCodec for assertions

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

TICKET: WCI-153

@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 5, 2026

@Marzooqa Marzooqa marked this pull request as ready for review May 5, 2026 10:37
@Marzooqa Marzooqa requested review from a team as code owners May 5, 2026 10:37
- Add getEddsaSignatureShareRound{1,2,3} and verifyBitGoEddsaMessageRound{1,2}
  helpers in sdk-core for building/verifying PGP-signed MPS broadcast messages
- Parameterise partyId/otherSignerPartyId (defaults: user=0, bitgo=2) to
  support non-user signers without hardcoding
- Wire eddsaMpcV2 type in sendSignatureShareV2 (common.ts)
- Export helpers as EddsaMPCv2Utils from sdk-core public index
- Add generateEdDsaDKGKeyShares to sdk-lib-mpc MPSUtil (mirrors DklsUtils for ECDSA)
- Add unit tests covering all 5 helpers using io-ts decodeWithCodec for assertions

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

TICKET: WCI-153
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