Constructor for the PKPBase class. Initializes the instance with the provided properties.
The properties for the PKPBase instance.
Private
PREFIXOptional
authOptional
controllerOptional
controllerOptional
controllerOptional
litOptional
litPrivate
orangePrivate
redPrivate
resetOptional
rpcsOptional
sessionRuns the specified Lit action with the given parameters.
pkpPubKey
is not provided, if controllerAuthSig
or controllerSessionSigs
is not provided, if controllerSessionSigs
is not an object, if executeJsArgs
does not have either code
or ipfsId
, or if an error occurs during the execution of the Lit action.The data to be signed by the Lit action.
The name of the signature to be returned by the Lit action.
Sign the provided data with the PKP private key.
pkpPubKey
is not provided, if controllerAuthSig
or controllerSessionSigs
is not provided, if controllerSessionSigs
is not an object, or if an error occurs during the signing process.The data to be signed.
Sets the compressed public key and its buffer representation.
The properties for the PKPBase instance.
Sets the Lit action to be executed by the LitNode client.
litActionCode
and litActionIPFS
are present, throws an Error. Otherwise, does not return a value.An object containing the parameters for the Lit action.
A function that sets the value of the litActionJsParams property to the given params object.
A generic type that extends T, where T is the type of the litActionJsParams property.
An object of type CustomType that contains the parameters to be set as litActionJsParams.
Sets the uncompressed public key and its buffer representation.
The properties for the PKPBase instance.
Private
validateGenerated using TypeDoc
A base class that can be shared between Ethers and Cosmos signers.