IPFS
Last updated
Was this helpful?
Last updated
Was this helpful?
This module simplifies the process of uploading files and metadata to IPFS, allowing you to generate IPFS URLs for media files such as images, audio, and video, as well as metadata json files.
If you are utilizing on-chain metadata, the media file URLs can be passed directly as initialization data to the deploy methods of Edition, Rentable, Crescendo, as well as the bulkUpdate function on MetadataRenderer.
Note: This module is a lightweight wrapper utilzing the JavaScript client library.
To begin we'll import the IPFS module.
Create an IPFS URL for media files, metadata json files, optionally in a single operation.
Create an IPFS URL for media files, metadata json files, optionally in a single operation.
metadata (any) A media file, or an object containing both media files and metadata.
Note: For further details refer to the method of the JavaScript client library.