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 chainsBIP340KeygenResult
Used for Bitcoin and BIP340/Schnorr-based chainsExample
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
Related Types
Wallet
- Wallet interfaceWalletProperties
- Wallet properties interfaceSigningAlgorithm
- Signing algorithm enum