Skip to main content

Class: Ed25519Provider

key-did-provider-ed25519.Ed25519Provider

Implements

  • DIDProvider

Constructors

constructor

new Ed25519Provider(seed): Ed25519Provider

Parameters

NameType
seedUint8Array

Returns

Ed25519Provider

Properties

_handle

_handle: SendRequestFunc<DIDProviderMethods>

Accessors

isDidProvider

get isDidProvider(): boolean

Returns

boolean

Methods

send

send<Name>(msg): Promise<null | RPCResponse<DIDProviderMethods, Name>>

Type parameters

NameType
Nameextends keyof DIDProviderMethods

Parameters

NameType
msgRPCRequest<DIDProviderMethods, Name>

Returns

Promise<null | RPCResponse<DIDProviderMethods, Name>>

Implementation of

DIDProvider.send