@substrate-system/frost
    Preparing search index...

    Function split

    • Split an existing Ed25519 private key into FROST shares using trusted dealer

      Parameters

      • privateKey: Uint8Array<ArrayBufferLike> | CryptoKey

        Ed25519 private key in one of the following formats:

        • CryptoKey (will be exported as PKCS#8)
        • Uint8Array in PKCS#8 format
        • Uint8Array 32-byte raw scalar
      • config: FrostConfig

        FROST configuration specifying min/max signers

      Returns Promise<Signers>

      Signers object with key packages for each participant