Skip to content

NodeJS sample illustrating self-sovereign identity using indy-sdk

License

Notifications You must be signed in to change notification settings

TrustNetPK/trustnet-nodejs-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodeJS samples for Indy SDK illustrating self-sovereign identity (SSI)

This demo illustrates how identity blockchain agents can be used to issue verifiable credential from an issuer to a prover and later verified by a verifier using a proof.

Wiki for verifiable credential: https://en.wikipedia.org/wiki/Verifiable_credentials

Credential Model

Requirements

  • Python 2.7.16 (Exacty this version)
  • libindy built and setuped (Instructions)
  • A locally running indy network on 127.0.0.1 (Instructions)
  • Node 8.x or greater

Usage

git clone https://github.com/TrustNetPK/trustnet-nodejs-sample.git
cd trustnet-nodejs-sample
npm install

*Run the agents in following order

To run verifier

cd trustnet-nodejs-sample/src
node verifier.js

To run prover

cd trustnet-nodejs-sample/src
node prover.js

To run issuer

cd trustnet-nodejs-sample/src
node issuer.js

Demo Video

DEMO