Private
constructorConstructor for the PKPBase class. Initializes the instance with the provided properties. Marked as private to make class final. When creating an instance use PKPBase.createInstance
The properties for the PKPBase instance.
Private
PREFIXOptional
authOptional
controllerOptional
controllerOptional
controllerOptional
litOptional
litPrivate
orangePrivate
redPrivate
resetOptional
rpcsPrivate
getRuns 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.
Private
setSets the compressed public key and its buffer representation.
The properties for the PKPBase instance.
Private
setSets 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.
Private
setA 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.
Private
setSets the uncompressed public key and its buffer representation.
The properties for the PKPBase instance.
Private
validateStatic
createCreates a new instance of the PKPBase class with the provided properties.
The properties for the PKPBase instance.
Generated using TypeDoc
A base class that can be shared between Ethers and Cosmos signers.