Skip to main content

Namespace: resolver

Interfaces

Variables

driver

Const driver: Object

Type declaration

NameType
createLocalDriver(chainspace: string) => KlayrLocalDidDriver
createOffChainDriver(param: { ipc?: string ; ws?: string }) => KlayrOffChainDidDriver
createOnChainDriver(context: MethodContext, method: DidMethod) => KlayrOnChainDidDriver

Defined in

packages/klayr-decentralized-identifier/src/resolver/index.ts:16

Functions

createChainResolver

createChainResolver(context, method): CachedResolver

Parameters

NameType
contextMethodContext
methodDidMethod

Returns

CachedResolver

Defined in

packages/klayr-decentralized-identifier/src/resolver/resolver.ts:51


createIPCResolver

createIPCResolver(ipc): CachedResolver

Parameters

NameType
ipcstring

Returns

CachedResolver

Defined in

packages/klayr-decentralized-identifier/src/resolver/resolver.ts:43


createResolver

createResolver(options): CachedResolver

Parameters

NameType
optionsCreateResolverParam

Returns

CachedResolver

Defined in

packages/klayr-decentralized-identifier/src/resolver/resolver.ts:58


createWSResolver

createWSResolver(ws): CachedResolver

Parameters

NameType
wsstring

Returns

CachedResolver

Defined in

packages/klayr-decentralized-identifier/src/resolver/resolver.ts:47