Skip to content

block-core/blockcore-issuer-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blockcore Issuer Service

Very simple service for issuing verifiable credentials (VC).

Verifiable Credentials API

This service implements partial support for the Verifiable Credential API standard:

https://w3c-ccg.github.io/vc-api/

API Specification

GET /api/credentials

Returns the latest 50 credentials. This will add paging support in the future.

GET /api/credentials/{id}

Returns all credentials for a specific DID, or a single unique crendential if the credential id (urn:uuid:) is specified.

GET /api/credentials/{id}/{schema}

Returns a single credential for a specific DID and schema.

POST /api/credentials/issue

Issue a new credential.

BODY:

{
    "did": "did:dht:1c5gde6u5oyhk8fiytupnwzfju49b56zwwoensaqenzxri96z1mo",
    "schema": "TheVoluntaryistCovenant"
}