Skip to main content

DIDStore class

An implementation of AbstractDIDStore that uses a TypeORM database to store the relationships between DIDs, their providers and controllers and their keys and services as they are known and managed by a Veramo agent.

An instance of this class can be used by DIDManager as the data storage layer.

To make full use of this class, it should use the same database as the one used by KeyStore.

Signature:

export declare class DIDStore extends AbstractDIDStore

Extends: AbstractDIDStore

Constructors

ConstructorModifiersDescription
(constructor)(dbConnection)Constructs a new instance of the DIDStore class

Methods

MethodModifiersDescription
deleteDID({ did })
getDID({ did, alias, provider, })
importDID(args)
listDIDs(args)