Class: Ed25519Provider
key-did-provider-ed25519.Ed25519Provider
Implements
DIDProvider
Constructors
constructor
• new Ed25519Provider(seed
): Ed25519Provider
Parameters
Name | Type |
---|---|
seed | Uint8Array |
Returns
Properties
_handle
• _handle: SendRequestFunc
<DIDProviderMethods
>
Accessors
isDidProvider
• get
isDidProvider(): boolean
Returns
boolean
Methods
send
▸ send<Name
>(msg
): Promise
<null
| RPCResponse
<DIDProviderMethods
, Name
>>
Type parameters
Name | Type |
---|---|
Name | extends keyof DIDProviderMethods |
Parameters
Name | Type |
---|---|
msg | RPCRequest <DIDProviderMethods , Name > |
Returns
Promise
<null
| RPCResponse
<DIDProviderMethods
, Name
>>
Implementation of
DIDProvider.send