๐ค Claimer
This section covers the steps undertaken by the Claimer.
Here's an overview:
- Create a DID, which is the identity used to interact with Attesters and Verifiers.
- Create a claim, request an attestation, and generate a credential using the attestation for our claim.
- Present the claim to a Verifier.
What is a Claimer?โ
Claimers are a crucial part of the Self-Sovereign Identity system.
A Claimer is an individual or institution that makes a claim or statement about their identity or abilities. They can use their identity credentials to prove these claims, and third-party institutions verify them.
Anyone can be a Claimer. All you need to do is complete a CType and create a claim. Then, you can send these claims to Attesters for verification.
They store their identity credentials in their digital wallets, so they decide which information to provide to which service. They have full control over their data and decide which data to share, where, and how.
You don't need to create a DID on the chain, meaning you are entirely independent!
Claimers can use their accounts without needing a chain connection.
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
cd claimer && touch createClaim.ts createPresentation.ts generateCredential.ts generateKeypairs.ts generateLightDid.ts && cd ..
โโ 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
cd claimer && touch createClaim.js createPresentation.js generateCredential.js generateKeypairs.js generateLightDid.js && cd ..