DID
Getting Started
Quickly get setup using the TrustStack DID service.
The did
module is used to manage decentralized identifiers (DIDs) via the TrustStack platform.
Installation
With @truststack/sdk
installed and configured, or alternatively, just the @truststack/did
package.
Issuing a DID
DIDs against issued against and scoped to an organization. A single organization
can have multiple DIDs issued so long as a unique name is provided.
This generates a did:web
DID scoped to the organization
and name
provided. The response returned is below.
Response
DID Structure
The DID is constructed as follows:
Where <ORG_ID>
is the organizationId
and <NAME>
is the name
provided to the createDid
method.
Deleting a DID
DIDs can be deleted by calling the deleteDid
method.