@silencelaboratories/walletprovider-sdk
    Preparing search index...

    Class KeygenSetupOpts

    This class represents the setup message for DKG protocol. It contains the setup parameters to run the protocol. Its sent to the network as payload of WpRequest.

    Implements

    • EoaAuthPayload
    Index

    Constructors

    Properties

    Accessors

    Constructors

    • Parameters

      • __namedParameters: {
            ephClaim: EphKeyClaim | undefined;
            n: number;
            permissions: string | undefined;
            signAlg: string;
            t: number;
        }

      Returns KeygenSetupOpts

    Properties

    ephClaim: string | undefined

    Optional eph key attached to the newly generated key

    n: number

    Total number of nodes that participate in Key generation, must be greater or equal than t

    signAlg: string

    Signature algorithm chosen for key generation

    t: number

    Threshold, number of parties that needs to participate in a protocol in order to produce valid signature

    Accessors

    • get eoaRequestSchema(): {
          KeygenSetupOpts: { name: string; type: string }[];
          Request: { name: string; type: string }[];
          TaggedValue: { name: string; type: string }[];
      }

      Returns {
          KeygenSetupOpts: { name: string; type: string }[];
          Request: { name: string; type: string }[];
          TaggedValue: { name: string; type: string }[];
      }