Skip to main content

Enum Definition

Values

ECDSA

  • Description: Elliptic Curve Digital Signature Algorithm
  • Use Case: EVM chains (Ethereum, Polygon, BSC, etc.)
  • Curve: secp256k1
  • Security: Industry standard for Ethereum and EVM-compatible chains

ED25519

  • Description: Edwards-curve Digital Signature Algorithm
  • Use Case: Solana, Cosmos, Flow, Sui, and other modern chains
  • Curve: Curve25519
  • Security: High performance, modern cryptographic algorithm

BIP340

  • Description: Bitcoin Improvement Proposal 340 (Schnorr signatures)
  • Use Case: Bitcoin and Bitcoin-compatible chains
  • Curve: secp256k1
  • Security: More efficient than ECDSA for Bitcoin

Chain Mapping

Each blockchain chain uses a specific signing algorithm:

Example

Usage

This enum is used to determine:
  • Key share types: Different algorithms use different key share structures
  • Signature formats: Each algorithm produces different signature formats
  • Chain compatibility: Ensures correct algorithm is used for each chain
Last modified on January 26, 2026