Type Definition
Description
ServerKeyShare is a union type that represents different types of key shares used in Multi-Party Computation (MPC) operations. The specific type depends on the signing algorithm used by the blockchain:
- EVM chains: Use
EcdsaKeygenResult (ECDSA signing)
- Solana: Use
Ed25519KeygenResult (Ed25519 signing)
- Bitcoin: Use
BIP340KeygenResult (BIP340/Schnorr signing)
Key Share Types
EcdsaKeygenResult
Used for EVM chains (Ethereum, Polygon, etc.)
Ed25519KeygenResult
Used for Solana and other Ed25519-based chains
BIP340KeygenResult
Used for Bitcoin and BIP340/Schnorr-based chains
Example
Usage
Server key shares are used in various MPC operations:
- Wallet creation: Generated during key generation ceremony
- Message signing: Used to create signatures
- Transaction signing: Used to sign transactions
- Key backup: Stored securely for wallet recovery
Last modified on September 21, 2026