Skip to content

feat(sdk-lib-mpc): add deriveUnhardenedMps for EdDSA MPCv2#8766

Open
Marzooqa wants to merge 1 commit into
masterfrom
marzooqakather498/wci-390-expose-mps-compatible-ed25519-public-derivation
Open

feat(sdk-lib-mpc): add deriveUnhardenedMps for EdDSA MPCv2#8766
Marzooqa wants to merge 1 commit into
masterfrom
marzooqakather498/wci-390-expose-mps-compatible-ed25519-public-derivation

Conversation

@Marzooqa
Copy link
Copy Markdown
Contributor

@Marzooqa Marzooqa commented May 13, 2026

Implements the Silence Labs BIP32-Ed25519 non-hardened derivation formula (HMAC-SHA512 with big-endian index, no prefix byte) as a TypeScript function in sdk-lib-mpc. This produces the same derived public key that the WASM DSG uses internally, unblocking EdDSA MPCv2 wallet address derivation.

Includes cross-check tests that verify DSG signatures at m, m/0, and m/0/1 verify against the derived public keys, confirming formula correctness.

Implements the Silence Labs BIP32-Ed25519 non-hardened derivation formula
(HMAC-SHA512 with big-endian index, no prefix byte) as a TypeScript function
in sdk-lib-mpc. This produces the same derived public key that the WASM DSG
uses internally, unblocking EdDSA MPCv2 wallet address derivation.

Includes cross-check tests that verify DSG signatures at m, m/0, and m/0/1
verify against the derived public keys, confirming formula correctness.

TODO(WCI-390): replace with wasm-mps ed25519_derive_public_key once exposed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 13, 2026

WCI-390

@Marzooqa Marzooqa marked this pull request as ready for review May 13, 2026 15:07
@Marzooqa Marzooqa requested review from a team as code owners May 13, 2026 15:07
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