Classes
Orderly network core.BaseOrderlyKeyPair
Orderly SDKs / Modules / @orderly.network/core / BaseOrderlyKeyPair
Class: BaseOrderlyKeyPair
@orderly.network/core.BaseOrderlyKeyPair
Implements
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new BaseOrderlyKeyPair(secretKey
)
Parameters
Name | Type |
---|---|
secretKey | string |
Defined in
packages/core/src/keyPair.ts:26
Properties
privateKey
• Private
privateKey: string
Defined in
packages/core/src/keyPair.ts:12
secretKey
• secretKey: string
Implementation of
Defined in
packages/core/src/keyPair.ts:11
Methods
getPublicKey
▸ getPublicKey(): Promise
<string
>
Returns
Promise
<string
>
Implementation of
Defined in
packages/core/src/keyPair.ts:36
sign
▸ sign(message
): Promise
<Uint8Array
>
Parameters
Name | Type |
---|---|
message | Uint8Array |
Returns
Promise
<Uint8Array
>
Implementation of
Defined in
packages/core/src/keyPair.ts:32
toString
▸ toString(): string
Returns
string
Defined in
packages/core/src/keyPair.ts:43
generateKey
▸ Static
generateKey(): OrderlyKeyPair