Asset Module
Last updated
Last updated
The Asset module consists of components which are used to:
Upload an Asset or Collection to IPFS/S3
Create Metadata for Single Asset or a Collection
Upload the Metadata to IPFS/S3
It uses Pinata/Filebase/Custom Storage (S3) to upload the Metadata to the IPFS/S3.
As a user uploads the Asset, SDK uploads the Asset to the IPFS and returns the IPFS CID of the Asset.
When a user uploads a Collection folder, uploads the Assets to the IPFS/S3 and returns the IPFS/S3 CID of the Assets.
Metadata is generated using the Asset URI returned while uploading the Asset and other Metadata fields. The Metadata is then uploaded to the IPFS/S3 and user gets the Metadata IPFS/S3 CID in return.