๐ค Claimer
In this section you will walk though all processes done by the Claimer.
- The first step is to create a DID, which is the identity that is used to interact with Attesters and Verifiers.
- Next, we will create a claim, request an attestation and generate a credential using the attestation for our claim.
- Finally we will present it to a Verifier.
Folder Structureโ
Create the following files in the Claimer folder. This folders serves to mimic a Claimer's perspective.
- Typescript
- Javascript
โโ kilt-rocks/ # project
โโ claimer/ # all claimer code
โโ createClaim.ts # creates a claim
โโ createPresentation.ts # creates a presentation for verifiers
โโ generateCredential.ts # create the credential object that is sent to the attester for attestation
โโ generateKeypairs.ts # create keypairs for the light DID
โโ generateLightDid.ts # create the light DID for the claimer
โโ kilt-rocks/ # project
โโ claimer/ # all claimer code
โโ createClaim.js # creates a claim
โโ createPresentation.js # creates a presentation for verifiers
โโ generateCredential.js # create the credential object that is sent to the attester for attestation
โโ generateKeypairs.js # create keypairs for the light DID
โโ generateLightDid.js # create the light DID for the claimer