Skip to content
This repository was archived by the owner on Feb 1, 2022. It is now read-only.
This repository was archived by the owner on Feb 1, 2022. It is now read-only.

how to run this sdk #44

@c20liu

Description

@c20liu

I am trying to use DID and I am very interested in TrustID. But following the readme to operate, it can’t be succeed anyway, which makes me feel very painful.

in TrustID/trustid-sdk, when execute "npm install @hyperledger-labs/trustid-sdk@1.0.0" will get error:

npm ERR! 404 Not found : @hyperledger-labs/trustid-sdk

in TrustID/trustid-sdk/examples, when execute "node getting-started.js", will get

/home/centos/gopath/src/github.com/hyperledger-labs/TrustID/trustid-sdk/node_modules/shamirs-secret-sharing/constants.js:5
const BIT_SIZE = 2 ** BIT_COUNT
^
home/centos/gopath/src/github.com/hyperledger-labs/TrustID/trustid-sdk/node_modules/fabric-ca-client/lib/FabricCAServices.js:115
async register(req, registrar) {
^^^^^^^^
SyntaxError: Unexpected identifier

So can you help me how to execute the example and the sdk......
@ryjones

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions