Lux Docs

CGGMP21

Threshold ECDSA for Bitcoin and Ethereum

CGGMP21 implements threshold ECDSA signing based on the Canetti-Goldwasser-Goldreich-Micali-Pinkas protocol. It enables t-of-n ECDSA signatures compatible with Bitcoin, Ethereum, and other secp256k1/P-256 chains.

Usage

scheme, _ := threshold.GetScheme(threshold.SchemeCGGMP21)
signer, _ := scheme.NewSigner(keyShare)
share, _ := signer.SignShare(ctx, message, signers, nil)

Properties

PropertyValue
Curvesecp256k1, P-256
Rounds4 (keygen), 5 (sign)
Thresholdt-of-n
Compatible ChainsBitcoin, Ethereum, BSC, Polygon

On this page