├── .github ├── CODEOWNERS ├── dependabot.yml └── workflows │ ├── release.yml │ └── test.yml ├── .gitignore ├── LICENSE ├── README.md ├── package.json ├── src ├── identity │ ├── did-document-base.ts │ ├── did-document-json-properties.ts │ ├── did-method-operation.ts │ ├── did-parser.ts │ ├── did-syntax.ts │ ├── hcs │ │ ├── address-book.ts │ │ ├── did │ │ │ ├── hcs-did-message.ts │ │ │ ├── hcs-did-resolver.ts │ │ │ ├── hcs-did-root-key.ts │ │ │ ├── hcs-did-topic-listener.ts │ │ │ ├── hcs-did-transaction.ts │ │ │ └── hcs-did.ts │ │ ├── hcs-identity-network-builder.ts │ │ ├── hcs-identity-network.ts │ │ ├── json-class.ts │ │ ├── message-envelope.ts │ │ ├── message-listener.ts │ │ ├── message-mode.ts │ │ ├── message-resolver.ts │ │ ├── message-transaction.ts │ │ ├── message.interface.ts │ │ ├── message.ts │ │ ├── serializable-mirror-consensus-response.ts │ │ └── vc │ │ │ ├── credential-subject.ts │ │ │ ├── hcs-vc-document-base.ts │ │ │ ├── hcs-vc-document-hash-base.ts │ │ │ ├── hcs-vc-document-json-properties.ts │ │ │ ├── hcs-vc-message.ts │ │ │ ├── hcs-vc-operation.ts │ │ │ ├── hcs-vc-status-resolver.ts │ │ │ ├── hcs-vc-topic-listener.ts │ │ │ ├── hcs-vc-transaction.ts │ │ │ └── issuer.ts │ └── hedera-did.ts ├── index.ts ├── typings.d.ts └── utils │ ├── arrays-utils.ts │ ├── hashing.ts │ ├── sleep.ts │ ├── timestamp-utils.ts │ └── validator.ts ├── test ├── aes-encryption-util.js ├── did-document-base.js ├── did │ ├── hcs-did-message.js │ ├── hcs-did-method-operations.js │ ├── hcs-did-root-key.js │ └── hcs-did.js ├── hcs-identity-network.js ├── network-ready-test-base.js ├── variables.js └── vc │ ├── demo-access-credential.js │ ├── demo-verifiable-credential-document.js │ ├── hcs-vc-document-base-test.js │ ├── hcs-vc-document-operations-test.js │ └── hcs-vc-encryption-test.js └── tsconfig.json /.github/CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/.github/CODEOWNERS -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules/ 2 | /dist/ 3 | .idea -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/package.json -------------------------------------------------------------------------------- /src/identity/did-document-base.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/src/identity/did-document-base.ts -------------------------------------------------------------------------------- /src/identity/did-document-json-properties.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/src/identity/did-document-json-properties.ts -------------------------------------------------------------------------------- /src/identity/did-method-operation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/src/identity/did-method-operation.ts -------------------------------------------------------------------------------- /src/identity/did-parser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/src/identity/did-parser.ts -------------------------------------------------------------------------------- /src/identity/did-syntax.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/src/identity/did-syntax.ts -------------------------------------------------------------------------------- /src/identity/hcs/address-book.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/src/identity/hcs/address-book.ts -------------------------------------------------------------------------------- /src/identity/hcs/did/hcs-did-message.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/src/identity/hcs/did/hcs-did-message.ts -------------------------------------------------------------------------------- /src/identity/hcs/did/hcs-did-resolver.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/src/identity/hcs/did/hcs-did-resolver.ts -------------------------------------------------------------------------------- /src/identity/hcs/did/hcs-did-root-key.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/src/identity/hcs/did/hcs-did-root-key.ts -------------------------------------------------------------------------------- /src/identity/hcs/did/hcs-did-topic-listener.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/src/identity/hcs/did/hcs-did-topic-listener.ts -------------------------------------------------------------------------------- /src/identity/hcs/did/hcs-did-transaction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/src/identity/hcs/did/hcs-did-transaction.ts -------------------------------------------------------------------------------- /src/identity/hcs/did/hcs-did.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/src/identity/hcs/did/hcs-did.ts -------------------------------------------------------------------------------- /src/identity/hcs/hcs-identity-network-builder.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/src/identity/hcs/hcs-identity-network-builder.ts -------------------------------------------------------------------------------- /src/identity/hcs/hcs-identity-network.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/src/identity/hcs/hcs-identity-network.ts -------------------------------------------------------------------------------- /src/identity/hcs/json-class.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/src/identity/hcs/json-class.ts -------------------------------------------------------------------------------- /src/identity/hcs/message-envelope.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/src/identity/hcs/message-envelope.ts -------------------------------------------------------------------------------- /src/identity/hcs/message-listener.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/src/identity/hcs/message-listener.ts -------------------------------------------------------------------------------- /src/identity/hcs/message-mode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/src/identity/hcs/message-mode.ts -------------------------------------------------------------------------------- /src/identity/hcs/message-resolver.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/src/identity/hcs/message-resolver.ts -------------------------------------------------------------------------------- /src/identity/hcs/message-transaction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/src/identity/hcs/message-transaction.ts -------------------------------------------------------------------------------- /src/identity/hcs/message.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/src/identity/hcs/message.interface.ts -------------------------------------------------------------------------------- /src/identity/hcs/message.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/src/identity/hcs/message.ts -------------------------------------------------------------------------------- /src/identity/hcs/serializable-mirror-consensus-response.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/src/identity/hcs/serializable-mirror-consensus-response.ts -------------------------------------------------------------------------------- /src/identity/hcs/vc/credential-subject.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/src/identity/hcs/vc/credential-subject.ts -------------------------------------------------------------------------------- /src/identity/hcs/vc/hcs-vc-document-base.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/src/identity/hcs/vc/hcs-vc-document-base.ts -------------------------------------------------------------------------------- /src/identity/hcs/vc/hcs-vc-document-hash-base.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/src/identity/hcs/vc/hcs-vc-document-hash-base.ts -------------------------------------------------------------------------------- /src/identity/hcs/vc/hcs-vc-document-json-properties.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/src/identity/hcs/vc/hcs-vc-document-json-properties.ts -------------------------------------------------------------------------------- /src/identity/hcs/vc/hcs-vc-message.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/src/identity/hcs/vc/hcs-vc-message.ts -------------------------------------------------------------------------------- /src/identity/hcs/vc/hcs-vc-operation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/src/identity/hcs/vc/hcs-vc-operation.ts -------------------------------------------------------------------------------- /src/identity/hcs/vc/hcs-vc-status-resolver.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/src/identity/hcs/vc/hcs-vc-status-resolver.ts -------------------------------------------------------------------------------- /src/identity/hcs/vc/hcs-vc-topic-listener.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/src/identity/hcs/vc/hcs-vc-topic-listener.ts -------------------------------------------------------------------------------- /src/identity/hcs/vc/hcs-vc-transaction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/src/identity/hcs/vc/hcs-vc-transaction.ts -------------------------------------------------------------------------------- /src/identity/hcs/vc/issuer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/src/identity/hcs/vc/issuer.ts -------------------------------------------------------------------------------- /src/identity/hedera-did.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/src/identity/hedera-did.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/typings.d.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/utils/arrays-utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/src/utils/arrays-utils.ts -------------------------------------------------------------------------------- /src/utils/hashing.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/src/utils/hashing.ts -------------------------------------------------------------------------------- /src/utils/sleep.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/src/utils/sleep.ts -------------------------------------------------------------------------------- /src/utils/timestamp-utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/src/utils/timestamp-utils.ts -------------------------------------------------------------------------------- /src/utils/validator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/src/utils/validator.ts -------------------------------------------------------------------------------- /test/aes-encryption-util.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/test/aes-encryption-util.js -------------------------------------------------------------------------------- /test/did-document-base.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/test/did-document-base.js -------------------------------------------------------------------------------- /test/did/hcs-did-message.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/test/did/hcs-did-message.js -------------------------------------------------------------------------------- /test/did/hcs-did-method-operations.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/test/did/hcs-did-method-operations.js -------------------------------------------------------------------------------- /test/did/hcs-did-root-key.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/test/did/hcs-did-root-key.js -------------------------------------------------------------------------------- /test/did/hcs-did.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/test/did/hcs-did.js -------------------------------------------------------------------------------- /test/hcs-identity-network.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/test/hcs-identity-network.js -------------------------------------------------------------------------------- /test/network-ready-test-base.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/test/network-ready-test-base.js -------------------------------------------------------------------------------- /test/variables.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/test/variables.js -------------------------------------------------------------------------------- /test/vc/demo-access-credential.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/test/vc/demo-access-credential.js -------------------------------------------------------------------------------- /test/vc/demo-verifiable-credential-document.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/test/vc/demo-verifiable-credential-document.js -------------------------------------------------------------------------------- /test/vc/hcs-vc-document-base-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/test/vc/hcs-vc-document-base-test.js -------------------------------------------------------------------------------- /test/vc/hcs-vc-document-operations-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/test/vc/hcs-vc-document-operations-test.js -------------------------------------------------------------------------------- /test/vc/hcs-vc-encryption-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/test/vc/hcs-vc-encryption-test.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashgraph/did-sdk-js/HEAD/tsconfig.json --------------------------------------------------------------------------------