Add Secure Key
Additional security layer.
// Pass true after the actions array to create and apply the Secure Key to your LitAction. Retrieve the secureKey value from the returned object array.
const {unsignedTransactionDataObject, litActionCode, secureKey} = await newCircuit.setActions([fetchAction, contractAction], true);
// Pass in the correct secure key to start
await newCircuit.start({publicKey, ipfsCID, authSig, secureKey});Last updated