The EdDSA Ticket PCD enables the verification that a specific ticket (EdDSATicketPCDClaim) has been signed with an EdDSA private key. The EdDSATicketPCDProof contains a EdDSA PCD and serves as the signature.

Implements

Constructors

Properties

Constructors

Properties

Information encoded in this PCD that is intended to be consumed by the business logic of some application. For example, a type of PCD that could exist is one that is able to prove that its creator knows the prime factorization of a really big number. In that case, the really big number would be the claim, and a ZK proof of its prime factorization would go in the PCD#proof.

id: string

Uniquely identifies this instance. Zupass cannot have more than one PCD with the same id. In practice this is often a UUID generated by the PCDPackage#prove function.

A cryptographic or mathematical proof of the PCD#claim.

type: string = EdDSATicketPCDTypeName

Refers to PCDPackage#name - each PCD must come from a particular PCDPackage. By convention, this is a string like 'semaphore-identity-pcd', or 'rsa-ticket-pcd'. These type names are intended to be globally unique - i.e. no two distinct PCD types should have the same type name.

Generated using TypeDoc