vCGen1.png

What is the VC-Generator App and How to Leverage it?

We have been talking about verifiable credentials, their possible use-cases, and even some hands-on implementations. Here's one!
image
Affinidi
Nov 15, 2021

We have been talking about verifiable credentials, their possible use-cases, and even some hands-on implementations. All this is sure to have piqued your interest, and now, it’s time for you to get hands-on!

To make it easy for you to explore the world of VCs and to get a feel of what they look like, we have put together a web app called the VC-Generator that displays what a VC schema looks like for different scenarios.

What’s the VC-Generator?

In simple terms, the VC-Generator allows you to choose a credential type that needs to be issued or verified from a drop-down list and displays the associated VC schema.

Salient features of VC-Generator

Some of the salient features of the VC-Generator are:

  • Created for simplicity
  • Based on JSON-LD
  • Ability to customize claim data about the subject
  • How to Generate VC Schema?

Below is a step-by-step guide on how you can use the VC-Generator to build VC schemas.

Step 1: Choose the VC Type

Go to vc-generator.com. Look through the VC types in the dropdown list and choose the one you want.

VCGen2.png

In the next section of this article, you can find a brief explanation of each VC type.

Step 2: Modify the Values

As soon as you choose a type, the associated VC will be displayed in the text area below. Here, you can modify the JSON object containing data about the credential subject, who is often the credential holder.

vCGen3.png

Step 3: Generate the VC Schema

Once you have the values modified, click the “Generate a VC” button right below the text area, and you’ll get the VC schema.

VCGen4.png

This VC is an unsigned object. An issuer can sign this VC with their private key and issue it to the DID of a holder.

Step 4: Customize and Use the VC Schema

Feel free to copy the schema and use it however you need. You can modify it meet your requirements.

As you can see, this web app greatly simplifies the process of creating a VC schema.

Before we end, let’s briefly look at the purpose of the VC types in this app.

VC Schema Types

Though the names of VC schemas are self-explanatory, still a few words on each. VCGen5.png VCGen6.png VCGen7.png

We hope this app enthuses you to explore the world of VCs and create futuristic applications that benefit you, your organization, and the world at large.

Affinidi provides building blocks for an open and interoperable Self-Sovereign Identity ecosystem. Check out our developer portal for more information.

Get an email whenever Affinidi Publishes!

Subscribe