mirror of
https://github.com/luxfi/chains.git
synced 2026-09-24 00:26:00 +00:00
B-Chain is a public permissionless chain; custody keygen must never run through a trusted dealer. GenerateKeys now runs a dealerless Pedersen-VSS DKG (no party holds the group secret) instead of scheme.NewTrustedDealer. Build + bridgevm MPC tests pass. This is the one production chains/node path that USED a trusted dealer (the dealer remains available as a library option in crypto/threshold per CTO direction — it is simply never used by chains/node). Follow-up (threshold-architecture consolidation): route this keygen through luxfi/dkg, the canonical dealerless DKG engine, once B-Chain custody's signature scheme (classical BLS vs PQ corona/pulsar) is fixed. Co-authored-by: Hanzo Dev <[email protected]>