did-relayer-quick
Version:
Veramo plugin that can enable creation and control of did:quick identifiers.
11 lines (9 loc) • 499 B
text/typescript
import { IAgentContext, ICredentialPlugin, IDataStore, IDataStoreORM, IPluginMethodMap, VerifiableCredential } from "@veramo/core-types";
export type IRequiredContext = IAgentContext<IDataStore & IDataStoreORM & ICredentialPlugin>
export interface IQuickDIDRelayer extends IPluginMethodMap {
saveCredential: (credential: VerifiableCredential,
context: IRequiredContext) => Promise<boolean>;
postPendingUpdates: (
batchSize: number,
context: IRequiredContext) => Promise<boolean>;
}