LitListenerSDK
  • Overview
  • Quick Start
  • SDK Reference
    • Instantiate Circuit
    • Set Conditions
    • Conditional Logic
    • Set Actions
    • Execution Constraints
    • IPFS Hash
    • MintGrantBurn PKP
    • Start Circuit
    • Broadcast Transactions
    • Add Secure Key
  • Database and Server Interactions
    • Server-SDK Integration
    • Persistant Circuit Architecture
  • Errors and Logs
    • Logs & Error Handling
    • Error Strict Mode
  • Live
    • No Code Interface
  • Resources
    • Issues
    • Testing
    • Contributors
    • System Architecture
    • About the Devs
    • Storefront
  • Github
  • Lit Developer Docs
Powered by GitBook
On this page
  1. SDK Reference

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);
PreviousExecution ConstraintsNextMintGrantBurn PKP

Last updated 1 year ago