Skip to content

TrustVC/w3c

Repository files navigation

TrustVC W3C

About

A wrapper lib build for TrustVC to work with W3C Verifiable Credentials (VCs) Data Model v1.1. Provides packages to facilitate the creation of Decentralized Identifiers (DIDs) v1, specifically did:web, and Verifiable Credentials Status Status List v2021.

Packages

For more details on each packages, refer to the individual README doc.

Packages npm
@trustvc/w3c npm
@trustvc/w3c-context npm
@trustvc/w3c-credential-status npm
@trustvc/w3c-issuer npm
@trustvc/w3c-vc npm

Tools

Apps Link
@trustvc/w3c-cli npm

Getting Started

  1. Pre Requisite

    1. Generate a signature specific key pair. link
    2. Generate and host a DID web identity. link
  2. Sign and Verify VC

    1. Sign
      1. Prepare and Sign the VC payload. link
    2. Verify
      1. Verify the signed VC. link
  3. Sign and Verify VC with Credential Status

    1. Generate Credential Status
      1. Prepare and Sign the payload for Credential Status. link
    2. Sign
      1. Prepare and Sign the VC payload. link
    3. Verify
      1. Verify the signed VC. link
      2. Verify the credentialStatus link

Running the code

npm install
npm run build
npm run test

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •