Hypersign Verifiable Presentation SDK

(W3C Verifiable Presentation Spec)[https://w3c-ccg.github.io/vp-request-spec/]

Table of Contents

  • Install The Package

  • Import The Package

  • APIs

    • Initialize Instance of HypersignVerifiablePresentation

    • generate()

    • sign()

    • verify()

  • Security Concerns

Install The Package

npm i https://github.com/hypersign-protocol/hid-ssi-js-sdk  --save

Import The Package

import { HypersignVerifiablePresentation } from 'hs-ssi-sdk';

APIs

Initialize instance of HypersignVerifiablePresentation

All operation in presentation are offchain. So need not to pass offlinesigner. However, we do need to pass RPC and REST endpoints to query states from blockchain

generate()

API Definition

Usage

Output

sign()

Signs a new presentation document and returns presentation document with proofs

API Definition

Usage

Output

verify()

API Definition

Usage

Output

Last updated