Present a Verifiable Credential
Present a Verifiable Credential, signed by a did:cheqd Decentralized Identifier (DID), using Credo.
Prerequisites
Step 1: Create a Connection with Holder
Step 2: Send Proof Request
await this.agent.modules.proofs.requestProof({
protocolVersion: 'v2',
connectionId: connectionRecord.id,
proofFormats: {
anoncreds: {
name: 'proof-request',
version: '1.0',
requested_attributes: {
name: {
name: 'name',
restrictions: [
{
cred_def_id: this.credentialDefinition?.credentialDefinitionId,
},
],
},
},
},
},
})Step 3: Holder sends Presentation Proof
What’s Happening Behind the Scenes?
Next Steps
Last updated
Was this helpful?