OpenViSTAI · Agents · Blockchain · Crypto
Menu
Storage & Data Availability

DAGService

DAGService is a TypeScript library that gives IPLD-based applications a minimal layer for getting and putting hash-linked data blocks over IPFS.

Independent OpenViST project profile, based on linked sources.

DAGService — TypeScript applications working with IPLD and IPFS
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when an application needs a lightweight IPFS layer for IPLD block access and can provide its own datastore and libp2p host.

Who it is for

  • Developers building IPLD-based applications that need IPFS block access.
  • Browser and mobile app developers seeking a smaller data-access layer than a full IPFS node.

Documented uses

  • Add a library component for storing hash-linked application data over IPFS.
  • Retrieve data from IPFS using a CID.
  • Build IPFS data-replication features, although the README does not detail their implementation.
Before you choose

Requirements & limits

  • The consuming application must supply a datastore and libp2p host, as shown in the README example.
  • The project describes itself as highly experimental and advises caution.
  • The README lists Apache 2.0 and MIT licenses.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Set up a peer and retrieve a block by CID

Construct and start a DAGService peer with a datastore and libp2p host, then request data by CID.

Before you start

  • The dag-service library
  • An interface-datastore-compliant store, such as MemoryDatastore
  • A libp2p host supplied by the application
  • A CID to request

Steps

  1. Create a BlockStore using the chosen datastore.

  2. Create a libp2p host and pass it with the BlockStore to Peer.

  3. Start the peer, request the file by CID, and stop the peer when finished.

Expected outcome

The example retrieves data for the requested CID and converts it to a string.

Guide limitations

  • The README calls the library highly experimental and advises caution.
  • The example does not document host configuration details or a replication procedure.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
24 October 2026
Original website title
ipfs/js-dag-service · Official homepage title · retained in its source language