Type alias EdDSAPCDArgs

EdDSAPCDArgs: {
    id: StringArgument;
    message: StringArrayArgument;
    privateKey: StringArgument;
}

Defines the essential parameters required for creating an EdDSAPCD.

Type declaration

  • id: StringArgument

    A string that uniquely identifies an EdDSAPCD. If this argument is not specified a random id will be generated.

  • message: StringArrayArgument

    The message is composed of a list of stringified big integers so that both proof and claim can also be used within SNARK circuits, which operate on fields that are themselves big integers.

  • privateKey: StringArgument

    The EdDSA private key is a 32-byte value used to sign the message. newEdDSAPrivateKey is recommended for generating highly secure private keys.

Generated using TypeDoc