Function
importPrivateKey(params)
Encrypts an existing private key with Lit and stores it as wrapped key metadata.
Parameters
Session signatures tying the wrapped key to the PKP.
Lit client instance for executing the Lit Action and accessing storage services.
Hex-encoded private key to wrap (a
0x prefixed string for EVM keys).Public key corresponding to the private key being wrapped.
Identifies the algorithm so the service can store the key correctly.
Description stored with the wrapped key.
Optional
executeJs price cap.