@celo/connect › "wallet" › Signer
Interface: Signer
Hierarchy
- Signer
Index
Properties
Properties
computeSharedSecret
• computeSharedSecret: function
Defined in packages/sdk/connect/src/wallet.ts:29
Type declaration:
▸ (publicKey
: string): Promise‹Buffer›
Parameters:
Name | Type |
---|---|
publicKey |
string |
decrypt
• decrypt: function
Defined in packages/sdk/connect/src/wallet.ts:28
Type declaration:
▸ (ciphertext
: Buffer): Promise‹Buffer›
Parameters:
Name | Type |
---|---|
ciphertext |
Buffer |
getNativeKey
• getNativeKey: function
Defined in packages/sdk/connect/src/wallet.ts:27
Type declaration:
▸ (): string
signPersonalMessage
• signPersonalMessage: function
Defined in packages/sdk/connect/src/wallet.ts:25
Type declaration:
▸ (data
: string): Promise‹object›
Parameters:
Name | Type |
---|---|
data |
string |
signTransaction
• signTransaction: function
Defined in packages/sdk/connect/src/wallet.ts:21
Signs the message and returns an EVM transaction
param
represents the chainId and is added to the recoveryId to prevent replay
param
is the RLPEncoded transaction object
Type declaration:
▸ (addToV
: number, encodedTx
: RLPEncodedTx): Promise‹object›
Parameters:
Name | Type |
---|---|
addToV |
number |
encodedTx |
RLPEncodedTx |
signTypedData
• signTypedData: function
Defined in packages/sdk/connect/src/wallet.ts:26
Type declaration:
▸ (typedData
: EIP712TypedData): Promise‹object›
Parameters:
Name | Type |
---|---|
typedData |
EIP712TypedData |