Basic Operations
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.
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
Step 3
Here's the identifier you just created, you can click copy button to copy the did id (red highlighted) into your clipboard.
Issue a Verifiable Credential
Visit this URL http://localhost:3000/developer/credential-from-schema
to issue a VC.
Step 1
- Select the VC schema from the dropdown.
- Add Credential subject.
- Select proof format
- Select the issuer (the identifier you created at previous step)
- Click Issue button.
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.
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.
The QR code won't work due to being on localhost, and it's not a result of rendering.
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.
Revoke a VC
To revoke a VC, do these steps:
- Go to Credential page.
- Select the VC that you want to revoke.
- Select tab Info
- Scroll to the bottom of the page, and click Revoke
Now, if you try to verify this VC again, this will be the result.
You can unrevoke it to make it valid by clicking the Unrevoke button.