IPFS Hash

Obtain the CID.

For a reliable IPFS upload use a dedicated client and pass the returned CID to mintGrantBurnPKP

Upload your Lit Action Code to IPFS through your preferred client. If you have already uploaded your Lit Action to IPFS and only need retrieve the CID, invoke getIPFSHash.

const ipfsCID = await newCircuit.getIPFSHash(litActionCode);

Last updated