Skip to content

Latest commit

 

History

History
 
 

traverse-ipld-graphs

Resolve through IPLD graphs with the dag API

IPLD stands for InterPlanetary Linked-Data, it is the data model of the content-addressable web. It gives IPFS the ability to resolve through any kind of content-addressed graph, as long as the adapter for the format is available.

This tutorial goes through several operations over IPLD graphs using the DAG API.

The example objects contained in "git-objects" have already been decompressed with zlib. An example of how to do this:

$ cat .git/objects/7d/df25817f57c2090a9568cdb17106a76dad7d04 | zlib-flate -uncompress > 7ddf25817f57c2090a9568cdb17106a76dad7d04 

Video of the demos

Find a video with a walkthrough of this examples on Youtube: