Classes
Orderly network core.BaseSigner
Orderly SDKs / Modules / @orderly.network/core / BaseSigner
Class: BaseSigner
@orderly.network/core.BaseSigner
Singer interface
Example
Implements
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new BaseSigner(keyStore
)
Parameters
Name | Type |
---|---|
keyStore | OrderlyKeyStore |
Defined in
packages/core/src/signer.ts:43
Properties
keyStore
• Private
Readonly
keyStore: OrderlyKeyStore
Defined in
packages/core/src/signer.ts:43
Methods
sign
▸ sign(message
, timestamp?
): Promise
<SignedMessagePayload
>
Parameters
Name | Type |
---|---|
message | MessageFactor |
timestamp | number |
Returns
Promise
<SignedMessagePayload
>
Implementation of
Defined in
packages/core/src/signer.ts:45
signText
▸ signText(text
): Promise
<{ publicKey
: string
; signature
: string
}>
Parameters
Name | Type |
---|---|
text | string |
Returns
Promise
<{ publicKey
: string
; signature
: string
}>