IPFS.

Post

Share your knowledge.

Steven.
May 23, 2024
Expert Q&A

How to use /ipfs/unixfs-cid without UnixFS and its implications?

I'm interested in leveraging the /ipfs/unixfs-cid functionality for clients without directly interacting with UnixFS. Can someone provide guidance on how clients can utilize this feature without dealing with UnixFS intricacies? Additionally, what are the implications of using /ipfs/unixfs-cid in this manner? Any insights or examples would be greatly appreciated. Thank you.

  • IPFS
  • JavaScript
0
1
Share
Comments
.

Answers

1
Jeremy.
May 23 2024, 13:02

Clients have the option to leverage the /ipfs/unixfs-cid functionality to retrieve content claims, which provide access to the SHA256 hash of the file associated with the UnixFS tree. Additionally, clients can obtain URLs for the file linked to the file's SHA256 hash and a verifiable assertion confirming the equivalence of the SHA256 hash to UnixFS through a proof tree. By executing HTTP range requests, clients can retrieve specific segments of the file as required. This method enables clients to potentially assign the validation of their data to third-party validators, underscoring the significance of trust and verification throughout the process.

0
Comments
.

Do you know the answer?

Please log in and share it.

We use cookies to ensure you get the best experience on our website.
More info