You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Example for using DAG-PB for storing multiple chunks (#85)
* Example for using DAG-PB for storing multiple chunks (TODO: needs polish)
* Fixed DAG file type?
* Some progress with DAG stuff (almost working)
* Stored chunked file and retrieve
* Removed
* DAG example
* Final version
* Store verify proof for DAG rootCID
### Example for multipart / chunked content / big files
84
+
The code stores one file, splits into chunks and then uploads those chunks to the Bulletin.
85
+
It collects all the partial CIDs for each chunk and saves them as a custom metadata JSON file in the Bulletin.
86
+
87
+
Now we have two examples:
88
+
1.**Manual reconstruction** — return the metadata and chunk CIDs, then reconstruct the original file manually.
89
+
2.**IPFS DAG feature** —
90
+
* converts the metadata into a DAG-PB descriptor,
91
+
* stores it directly in IPFS,
92
+
* and allows fetching the entire file using a single root CID from an IPFS HTTP gateway (for example: `http://localhost:8080/ipfs/QmW2WQi7j6c7UgJTarActp7tDNikE4B2qXtFCfLPdsgaTQ`).
0 commit comments