Skip to main content

Basic Operations

info

Please note that this content is under development and is not ready for implementation. This status message will be updated as content development progresses.

Create an identifier

First of all, you need to create an identifier. To do it, visit this URL http://localhost:3000/managed-identifiers.

Step 1

Click Create New Identifier button.

create identifier

Step 2

Give it an example alias, in this case it's the ngrok custom domain which is connected to localhost:3332. Then select the did type, in this case we use did:web. Then click Save

create identifier 2

Step 3

Here's the identifier you just created, you can click copy button to copy the did id (red highlighted) into your clipboard.

create identifier 3

Issue a Verifiable Credential

Visit this URL http://localhost:3000/developer/credential-from-schema to issue a VC.

Step 1

  1. Select the VC schema from the dropdown.
  2. Add Credential subject.
  3. Select proof format
  4. Select the issuer (the identifier you created at previous step)
  5. Click Issue button.

issue credential

Step 2

Go to Credential page to see the list of issued VC. Here you can download the VC, and verify it in the next step.

issue credential 3

You can also see the details of the VC. At Rendered tab, you can see the rendered version of it, this is made by the Renderer plugin of VCkit.

note

The QR code won't work due to being on localhost, and it's not a result of rendering.

issue credential 4

Verify a VC

Go to Credential verifier page to verify a VC. You can upload the VC that you downloaded previously here to verify it. This is the expected result.

verify vc

Revoke a VC

To revoke a VC, do these steps:

  1. Go to Credential page.
  2. Select the VC that you want to revoke.
  3. Select tab Info
  4. Scroll to the bottom of the page, and click Revoke

revoke vc

Now, if you try to verify this VC again, this will be the result.

revoke vc 2

You can unrevoke it to make it valid by clicking the Unrevoke button.

revoke vc 3