Commit Graph
3 Commits
Author SHA1 Message Date
zeekay 3d0da53ddd docs+manifest: align protocol references with new union (NIT from red review) 2026-05-21 14:57:19 -07:00
zeekay e03574dc57 pkg/{bridge,threshold}: protocol union — drop lss+ringtail, add pulsar/corona/magnetar/doerner (PQ-safe leaderless)
Align the SDK Protocol union with the canonical thresholdd protocol set
(cggmp21, frost, pulsar, corona, bls, doerner) plus magnetar from the
study/ research variant. lss and ringtail are removed entirely — lss
never had a leaderless-safe round and ringtail folded into the pulsar/
corona lattice family.

Classical: cggmp21 (ECDSA secp256k1), frost (EdDSA ed25519), bls, doerner (2-of-2).
Post-quantum: pulsar (MLWE), corona (RLWE), magnetar (research variant).

- pkg/bridge/src/types.ts: BridgeMPCConfig.protocol widened with JSDoc
- pkg/threshold/src/types.ts: Protocol type widened with matching JSDoc
- pkg/threshold/src/client.test.ts: 'lss' callsites → 'cggmp21'
- pkg/bridge/src/__tests__/config.test.ts: parametric it.each test
  walking all 7 protocols, confirms setConfig({mpc:{protocol}}) accepts each

Verified: pnpm typecheck + pnpm test green on pkg/bridge (14/14) and
pkg/threshold (8/8).
2026-05-21 14:47:20 -07:00
zeekay 5557c00eae Add docs 2025-12-24 14:19:52 -08:00