Present a Verifiable Credential
Present a JSON-LD Verifiable Credential, signed by a did:cheqd Decentralized Identifier (DID), using Credo.
Verifiable Credentials signed by a did:cheqd
can be securely presented using the Dif proof format and the Present Proof Protocol v2 within the Credo framework. This enables trust-minimised, selective disclosure of credential data between a Holder and a Verifier.
Prerequisites
Before presenting a credential:
A Verifiable Credential must have been issued and accepted by the Holder
A Credo Agent is running for both the Verifier and the Holder
A DIDComm connection exists between Holder and Verifier (via OOB or another method)
Both agents are configured with Credo packages needed for JSON-LD Credential Proof.
Step 1: Create a Connection with Holder
Use any supported method to create a connection with the Holder. Automated out-of-band protocol is recommended. You can follow the same steps as described in Issue a Verifiable Credential.
Step 2: Register Proof Event Listeners
Both agents need event listeners to handle the proof exchange protocol automatically.
Step 3: Send Proof Request
After the connection is established and event handlers registered, the Verifier can send a proof request to the Holder.
The Proof Acceptance and Presentation is handled automatically by the event listeners registered for both Verifier and Holder.
Next Steps
For more tutorials and examples, visit Credo Docs.
Last updated
Was this helpful?