Skip to main content

EthrDIDProvider class

DIDManager identifier provider for did:ethr identifiers

Signature:

export declare class EthrDIDProvider extends AbstractIdentifierProvider

Extends: AbstractIdentifierProvider

Constructors

ConstructorModifiersDescription
(constructor)(options)Constructs a new instance of the EthrDIDProvider class

Methods

MethodModifiersDescription
addKey({ identifier, key, options }, context)
addService({ identifier, service, options, }, context)
createIdentifier({ kms, options }, context)
deleteIdentifier(identifier, context)
matchPrefix(prefix)

Tries to determine if this DID provider can manage DIDs with the given prefix.

If this provider was configured for a particular network and that network name or hexChainId is used in the prefix it will return true.

removeKey(args, context)
removeService(args, context)
updateIdentifier(args, context)