CINXE.COM

IPLD ♦ InterPlanetary Ecosystem Overview

<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="/css/layout.css?1732633144785"> <link rel="stylesheet" href="/css/nav.css?1732633144785"> <link rel="stylesheet" href="/css/style.css?1732633144785"> <link rel="stylesheet" href="/css/prismjs@1.24-themes-prism.css"> <title>IPLD ♦ InterPlanetary Ecosystem Overview</title> </head> <body> <header> <div class="sidebar-button" onclick="document.getElementById('sidebar').classList.toggle('sidebar-open')"> <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"> <path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path> </svg> </div> <a href="/" class="logo">IPLD</a> <aside id=breadcrumbs> <ul> <li><a href="/docs">docs</a></li> <li><a href="/docs/intro">intro</a></li> <li><a href="/docs/intro/ecosystem/">ecosystem</a></li> </ul> </aside> </header> <aside id=sidebar> <nav> <ul> <li> <a href="/docs/">Docs</a><ul> <li> <a href="/docs/intro/">Intro</a><ul> <li> <a href="/docs/intro/hello-world/">Hello, World</a></li> <li> <a href="/docs/intro/primer/">The Brief Primer</a></li> <li class="active-page"> <a href="/docs/intro/ecosystem/">InterPlanetary Ecosystem Overview</a></li> <li> <a href="/docs/intro/community/">Finding Community</a></li></ul></li> <li> <a href="/docs/motivation/">Motivation</a><ul> <li> <a href="/docs/motivation/benefits-of-content-addressing/">Benefits of Content Addressing</a></li> <li> <a href="/docs/motivation/data-to-data-structures/">From Data to Data Structures</a></li></ul></li> <li> <a href="/docs/codecs/">Codecs</a><ul> <li> <a href="/docs/codecs/known/">Known Codecs</a><ul> <li> <a href="/docs/codecs/known/dag-cbor/">DAG-CBOR</a></li> <li> <a href="/docs/codecs/known/dag-json/">DAG-JSON</a></li> <li> <a href="/docs/codecs/known/dag-pb/">DAG-PB</a></li></ul></li></ul></li> <li> <a href="/docs/data-model/">Data Model</a><ul> <li> <a href="/docs/data-model/node/">Nodes</a></li> <li> <a href="/docs/data-model/kinds/">Kinds</a></li> <li> <a href="/docs/data-model/pathing/">Pathing</a></li> <li> <a href="/docs/data-model/traversal/">Traversal</a></li></ul></li> <li> <a href="/docs/advanced-data-layouts/">Advanced Data Layouts</a><ul> <li> <a href="/docs/advanced-data-layouts/intro/">Intro to ADLs</a></li> <li> <a href="/docs/advanced-data-layouts/naming/">ADL Naming</a></li> <li> <a href="/docs/advanced-data-layouts/signalling/">Signalling ADLs</a></li> <li> <a href="/docs/advanced-data-layouts/dynamic-loading/">Dynamic Loading</a></li> <li> <a href="/docs/advanced-data-layouts/known/">Known ADLs</a></li></ul></li> <li> <a href="/docs/schemas/">Schemas</a><ul> <li> <a href="/docs/schemas/intro/">Introduction</a><ul> <li> <a href="/docs/schemas/intro/compare/">compare</a></li> <li> <a href="/docs/schemas/intro/goals/">Goals</a></li> <li> <a href="/docs/schemas/intro/feature-summary/">Feature Summary</a></li></ul></li> <li> <a href="/docs/schemas/features/">Features</a><ul> <li> <a href="/docs/schemas/features/typekinds/">Type Kinds</a></li> <li> <a href="/docs/schemas/features/representation-strategies/">Representation Strategies</a></li> <li> <a href="/docs/schemas/features/links/">Links</a></li> <li> <a href="/docs/schemas/features/indicating-adls/">Using ADLs in Schemas</a></li></ul></li> <li> <a href="/docs/schemas/using/">Using Wisely</a><ul> <li> <a href="/docs/schemas/using/authoring-guide/">Authoring Guide</a></li> <li> <a href="/docs/schemas/using/migrations/">Migrations</a></li></ul></li></ul></li> <li> <a href="/docs/synthesis/">Synthesis</a><ul> <li> <a href="/docs/synthesis/gtd/">Getting Things Done</a></li> <li> <a href="/docs/synthesis/building-in-alignment/">Building in Alignment</a></li> <li> <a href="/docs/synthesis/how-ipfs-web-gateways-work/">How IPFS Web Gateways Work</a></li> <li> <a href="/docs/synthesis/encryption/">Working With Encryption</a></li></ul></li></ul></li> <li> <a href="/specs/">Specs</a><ul> <li> <a href="/specs/about/">About the Specifications</a></li> <li> <a href="/specs/codecs/">Codecs</a><ul> <li> <a href="/specs/codecs/dag-cbor/">DAG-CBOR</a><ul> <li> <a href="/specs/codecs/dag-cbor/spec/">Spec</a></li> <li> <a href="/specs/codecs/dag-cbor/fixtures/">DAG-CBOR Test Fixtures</a><ul> <li> <a href="/specs/codecs/dag-cbor/fixtures/cross-codec/">cross-codec</a></li></ul></li></ul></li> <li> <a href="/specs/codecs/dag-cosmos/">DAG-COSMOS</a><ul> <li> <a href="/specs/codecs/dag-cosmos/basic_types/">basic_types</a></li> <li> <a href="/specs/codecs/dag-cosmos/cosmos_state/">cosmos_state</a></li> <li> <a href="/specs/codecs/dag-cosmos/crypto_types/">crypto_types</a></li> <li> <a href="/specs/codecs/dag-cosmos/tendermint_chain/">tendermint_chain</a></li> <li> <a href="/specs/codecs/dag-cosmos/typed_protobuf/">typed_protobuf</a></li></ul></li> <li> <a href="/specs/codecs/dag-eth/">DAG-ETH</a><ul> <li> <a href="/specs/codecs/dag-eth/basic_types/">basic_types</a></li> <li> <a href="/specs/codecs/dag-eth/chain/">chain</a></li> <li> <a href="/specs/codecs/dag-eth/convenience_types/">convenience_types</a></li> <li> <a href="/specs/codecs/dag-eth/state/">state</a></li></ul></li> <li> <a href="/specs/codecs/dag-jose/">DAG-JOSE</a><ul> <li> <a href="/specs/codecs/dag-jose/spec/">Spec</a></li> <li> <a href="/specs/codecs/dag-jose/fixtures/">fixtures</a></li></ul></li> <li> <a href="/specs/codecs/dag-json/">DAG-JSON</a><ul> <li> <a href="/specs/codecs/dag-json/spec/">Spec</a></li> <li> <a href="/specs/codecs/dag-json/fixtures/">DAG-JSON Test Fixtures</a><ul> <li> <a href="/specs/codecs/dag-json/fixtures/cross-codec/">cross-codec</a></li></ul></li></ul></li> <li> <a href="/specs/codecs/dag-pb/">DAG-PB</a><ul> <li> <a href="/specs/codecs/dag-pb/spec/">Spec</a></li> <li> <a href="/specs/codecs/dag-pb/fixtures/">DAG-PB Test Fixtures</a><ul> <li> <a href="/specs/codecs/dag-pb/fixtures/cross-codec/">cross-codec</a></li></ul></li></ul></li></ul></li> <li> <a href="/specs/advanced-data-layouts/">Advanced Data Layouts</a><ul> <li> <a href="/specs/advanced-data-layouts/fbl/">FBL ADL</a><ul> <li> <a href="/specs/advanced-data-layouts/fbl/spec/">spec</a></li></ul></li> <li> <a href="/specs/advanced-data-layouts/hamt/">HAMT ADL</a><ul> <li> <a href="/specs/advanced-data-layouts/hamt/spec/">spec</a></li> <li> <a href="/specs/advanced-data-layouts/hamt/fixture/">HashMap (HAMT) Test Fixtures</a><ul> <li> <a href="/specs/advanced-data-layouts/hamt/fixture/alice-words/">alice-words</a></li></ul></li></ul></li></ul></li> <li> <a href="/specs/schemas/">Schemas</a><ul> <li> <a href="/specs/schemas/prelude/">prelude</a></li></ul></li> <li> <a href="/specs/transport/">Transports</a><ul> <li> <a href="/specs/transport/car/">CAR</a><ul> <li> <a href="/specs/transport/car/carv1/">CARv1 Specification</a></li> <li> <a href="/specs/transport/car/carv2/">CARv2 Specification</a></li> <li> <a href="/specs/transport/car/fixture/">CAR Test Fixtures</a><ul> <li> <a href="/specs/transport/car/fixture/carv1-basic/">carv1-basic</a></li> <li> <a href="/specs/transport/car/fixture/carv2-basic/">carv2-basic</a></li></ul></li></ul></li> <li> <a href="/specs/transport/graphsync/">Graphsync</a><ul> <li> <a href="/specs/transport/graphsync/known_extensions/">known_extensions</a></li></ul></li> <li> <a href="/specs/transport/trustless-pathing/">Trustless Pathing</a><ul> <li> <a href="/specs/transport/trustless-pathing/fixtures/">Trustless Pathing Fixtures</a><ul> <li> <a href="/specs/transport/trustless-pathing/fixtures/unixfs_20m_variety/">unixfs_20m_variety</a></li></ul></li></ul></li></ul></li> <li> <a href="/specs/selectors/">Selectors</a><ul> <li> <a href="/specs/selectors/fixtures/">fixtures</a><ul> <li> <a href="/specs/selectors/fixtures/selector-fixtures-1/">selector-fixtures-1</a></li> <li> <a href="/specs/selectors/fixtures/selector-fixtures-adl/">selector-fixtures-adl</a></li> <li> <a href="/specs/selectors/fixtures/selector-fixtures-recursion/">selector-fixtures-recursion</a></li></ul></li></ul></li> <li> <a href="/specs/patch/">Patch</a><ul> <li> <a href="/specs/patch/fixtures/">IPLD Patch Test Fixtures</a><ul> <li> <a href="/specs/patch/fixtures/fixtures-1/">fixtures-1</a></li></ul></li></ul></li></ul></li> <li> <a href="/libraries/">Libraries</a><ul> <li> <a href="/libraries/golang/">Golang</a></li> <li> <a href="/libraries/javascript/">JavaScript</a></li> <li> <a href="/libraries/python/">Python</a></li> <li> <a href="/libraries/rust/">Rust</a></li></ul></li> <li> <a href="/design/">Design</a><ul> <li> <a href="/design/objectives/">Objectives</a></li> <li> <a href="/design/concepts/">Concepts</a><ul> <li> <a href="/design/concepts/type-theory-glossary/">type-theory-glossary</a></li></ul></li> <li> <a href="/design/libraries/">Libraries</a><ul> <li> <a href="/design/libraries/nodes-and-kinds/">nodes-and-kinds</a></li></ul></li> <li> <a href="/design/tricky-choices/">Tricky Choices</a><ul> <li> <a href="/design/tricky-choices/dag-pb-forms-impl-and-use/">dag-pb-forms-impl-and-use</a></li> <li> <a href="/design/tricky-choices/map-key-domain/">map-key-domain</a></li> <li> <a href="/design/tricky-choices/numeric-domain/">numeric-domain</a></li> <li> <a href="/design/tricky-choices/ordering/">ordering</a></li> <li> <a href="/design/tricky-choices/string-domain/">string-domain</a></li></ul></li> <li> <a href="/design/open-research/">Open Research</a><ul> <li> <a href="/design/open-research/ADL-autoexecution/">ADL autoexecution</a></li></ul></li></ul></li> <li> <a href="/tools/">Tools</a></li> <li> <a href="/glossary/">Glossary</a></li> <li> <a href="/media/">Media</a></li> <li> <a href="/FAQ/">FAQ</a></li></ul> </nav> </aside> <main> <div class=content> <h1>IPLD in the InterPlanetary Ecosystem</h1> <p>IPLD is a part of the &quot;InterPlanetary Ecosystem&quot;. You can use it without any of the other projects in that ecosystem, but it may be useful to understand this history; and if you come to IPLD via one of the other InterPlanetary projects (such as IPFS), this document can help you understand the relationship and the distinctions.</p> <h2 id="ipld" tabindex="-1"><a class="header-anchor" href="#ipld">IPLD</a></h2> <p>IPLD is short for &quot;InterPlanetary Linked Data&quot;.</p> <p>As the name suggests, IPLD is all about <em>data</em>: defining data structures, defining data serialization, defining ways we can expect to traverse data, and defining ways we can link data.</p> <p>IPLD is primarily a set of specs and a series of libraries: it's meant to help others write decentralized applications, and is not an application itself.</p> <p>See IPFS for an application that uses IPLD.</p> <p>See libp2p for libraries that can be used to transport IPLD data over networks.</p> <h2 id="ipfs" tabindex="-1"><a class="header-anchor" href="#ipfs">IPFS</a></h2> <p>IPFS is best understood as an application that glues together:</p> <ul> <li>IPLD, to describe data,</li> <li>libp2p, to transmit data around,</li> <li>some concrete implementations of data storage,</li> <li>and some fun features that make a concept of &quot;files&quot; and &quot;directories&quot; readily accessible to users of IPFS.</li> </ul> <p>(There's also a bunch of neat features like a web interface that accesses the abstraction of &quot;files&quot;, various APIs, etc -- but check out the IPFS documentation for details of this, not ours ;))</p> <p>In short: IPFS depends on IPLD.</p> <p>IPLD does not depend on IPFS.</p> <h3 id="history" tabindex="-1"><a class="header-anchor" href="#history">history</a></h3> <p>The IPFS project is the first project of the InterPlanetary ecosystem. Many early ideas emerged in this project... and were only extracted sometime later!</p> <p>IPLD is one such idea that incubated in the IPFS project, and was only extracted later. (libp2p is another project with a similar origin story!)</p> <p>You may see stretch marks around this for some time: comments in old code which, read today, seem ambiguous about the separations; etcetera.</p> <p>We're working to increase the clarity of roles and responsibilities of all of these projects over time. Newly written work in IPLD will generally not refer to IPFS at all; and you can definitely count on it to not have direct dependencies on IPFS code. We regard IPFS as just one consumer of the IPLD libraries.</p> <h2 id="libp2p" tabindex="-1"><a class="header-anchor" href="#libp2p">libp2p</a></h2> <p>libp2p is a project which handles networking and transport of data.</p> <p>The features of libp2p of the features range from the basic (simple streaming transport APIs) to the useful (NAT traversal, &quot;hole punching&quot;, protocol negotiations, etc) to the neat (pubkey-based persistent network peer identity toolkits) to the awesome (DHTs and other advanced network routing and distributed storage components).</p> <p>libp2p is developed by some of the same people as IPLD, IPFS, and the other InterPlanetary projects. Like IPLD, libp2p is a project that historically emerged from IPFS when it became apparent that it would be widely reusable; now, many other projects also use libp2p as a networking abstraction, or lean on its routing and storage components.</p> <p>libp2p doesn't have any explicit dependency on IPLD, nor vice-versa. We do design them to work well together, though! libp2p is a great thing to check out if you want to build a distributed application with IPLD, and you need to handle networking.</p> <p>libp2p uses several of the Multiformats specifications in describing their data and their protocol negotiation systems. (However, they're often different subsets of the Multiformats than those that IPLD is most concerned with.)</p> <h2 id="cids" tabindex="-1"><a class="header-anchor" href="#cids">CIDs</a></h2> <p>CIDs -- <strong>C</strong>ontent <strong>ID</strong>entifiers -- are a specification for identifying content based on cryptographic hashing. See wikipedia on <a href="https://en.wikipedia.org/wiki/Content-addressable_storage#Content-addressed_vs._location-addressed">Content Addressing</a> for a general introduction to this concept.</p> <p>We use CIDs for &quot;linking&quot; in IPLD. &quot;Linking&quot; in IPLD just has the semantic requirement of using immutable identifiers; in practice, we satisfy this aim by using CIDs for links.</p> <p>See also <a href="https://docs.ipfs.io/concepts/content-addressing/">CIDs in the IPFS documentation</a>.</p> <h2 id="multiformats" tabindex="-1"><a class="header-anchor" href="#multiformats">Multiformats</a></h2> <h3 id="multihash" tabindex="-1"><a class="header-anchor" href="#multihash">multihash</a></h3> <p>Multihash indicators are a part of CIDs. Therefore, you may see multihash in IPLD through linking, which uses CIDs.</p> <h3 id="multicodecs" tabindex="-1"><a class="header-anchor" href="#multicodecs">multicodecs</a></h3> <p>Multicodec indicators are a part of CIDs. Therefore, you may see multicodec in IPLD through linking, which uses CIDs.</p> <h3 id="multiaddrs" tabindex="-1"><a class="header-anchor" href="#multiaddrs">multiaddrs</a></h3> <p>Multiaddrs are one of the multiformats that IPLD has the <em>least</em> to do with.</p> <p>Multiaddrs are used to describe networking locations in libp2p.</p> <p>IPLD is concerned with data formats, and not with networking; therefore, it does not have direct interactions with Multiaddrs.</p> <h2 id="other" tabindex="-1"><a class="header-anchor" href="#other">Other</a></h2> <h3 id="graphsync" tabindex="-1"><a class="header-anchor" href="#graphsync">graphsync</a></h3> <p>Graphsync is the name of a protocol and set of libraries for exchanging blocks of data containing IPLD data (and it uses IPLD Selectors to allow a high degree of user power for saying what to exchange).</p> <p>IPLD doesn't depend on graphsync, but they play together very nicely.</p> <p>Graphsync has a comparable purpose to bitswap, although it is more recently created.</p> <h3 id="bitswap" tabindex="-1"><a class="header-anchor" href="#bitswap">bitswap</a></h3> <p>Bitswap is the name of another protocol and set of libraries for exchanging blocks of data containing IPLD data.</p> <p>IPLD doesn't depend on bitswap, but bitswap is often used to exchange IPLD data.</p> <p>Bitswap is a long-standing part of IPFS. It's also comparable in purpose to Graphsync.</p> </div> </main> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10