Appearance
SkcAws
It implements the following interfaces: ApiGatewayConfig
Creating Instances
new SkcAws( apiGatewayConfig: ApiGatewayConfig
, offset?: string
, isEncoded?: boolean
, evmProvider?: ethers.Provider
)
Creates a new instance of SkcAws
, enabling interaction with the AWS's vault signer service.
Properties
SkcAws.apiGatewayConfig
⇒ApiGatewayConfig
Gateway SDK to AWS lambda
SkcAws.offset
⇒string
Offset used to sign a transaction/message
SkcAws.isEncoded
⇒boolean
To check if the message being sent is encoded or not.
SkcAws.evmProvider
⇒ethers.Provider
EVM provider to interact with contract
Instance Methods
skcAws.signTransaction ( txData: TransactionRequest
)
To sign the transaction on AWS
skcAws.signMessage ( message: string | Uint8Array
)
To sign a ecdsa message on AWS