Files
zeekay 19b49809fd Implement threshold MPC signing with CGGMP21, FROST, and LSS protocols
This commit adds complete multi-party computation (MPC) threshold signing
for multiple cryptographic protocols:

CGGMP21 (ECDSA/secp256k1):
- Key generation for Bitcoin/Ethereum/EVM chains
- Threshold signing with t-of-n security
- Recovery byte calculation for Ethereum compatibility

FROST/Taproot (EdDSA/BIP-340):
- EdDSA key generation for Solana/Sui/Polkadot
- BIP-340 compatible Schnorr signatures (64 bytes)
- CBOR serialization for TaprootConfig crypto types

LSS (Linear Secret Sharing):
- Dynamic resharing support (change participants)
- ECDSA signing with blinding protocol
- Protocol adapter for unified interface

Key fixes:
- Use MarshalBinary/UnmarshalBinary for protocol messages
- CBOR serialization for FROST TaprootConfig (not JSON)
- Correct type assertion for taproot.Signature ([]byte)
- Sorted party IDs for deterministic ordering

E2E tests pass for both ECDSA and EdDSA signing.
2026-01-24 23:41:43 -08:00

43 lines
1.1 KiB
JSON

{
"name": "@luxfi/mpc-docs",
"version": "1.0.0",
"private": true,
"scripts": {
"dev": "next dev --port 3022",
"build": "next build",
"export": "TURBOPACK=0 next build",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"@hanzo/docs": "^16.2.0",
"@hanzo/docs-core": "^16.2.0",
"@hanzo/mdx": "^14.2.0",
"@hanzo/ui": "^5.3.28",
"fumadocs-core": "^15.0.0",
"fumadocs-mdx": "^12.0.0",
"fumadocs-ui": "^16.0.0",
"lucide-react": "^0.468.0",
"next": "16.0.1",
"next-themes": "^0.4.6",
"react": "19.2.0",
"react-day-picker": "^9.0.0",
"react-dom": "19.2.0",
"react-resizable-panels": "^2.0.0",
"tailwindcss": "^4.1.16",
"zod": "^4.2.1"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.1.16",
"@types/node": "^22.10.2",
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.2",
"autoprefixer": "^10.4.20",
"postcss": "^8.4.49",
"rehype-pretty-code": "^0.14.1",
"shiki": "^1.27.2",
"typescript": "^5.7.2"
},
"packageManager": "[email protected]"
}