Skip to content

lattice-volumes

Requires Node.js 22 or later. This package provides ESM and TypeScript declarations; CommonJS require() is not supported.

Terminal window
npm install @adalin/lattice-volumes

Verified complete-Volume retrieval for Lattice content services and DHTs. Every member is checked against its CID before it is exposed.

import { HTTPVolumeTransport, VolumeClient } from "@adalin/lattice-volumes";
const volumes = new VolumeClient(
new HTTPVolumeTransport("https://content.example.org/volumes", {
chainPath: ["Nexus"],
}),
);
const volume = await volumes.get(rootCID);

The HTTP transport uses Ivy’s canonical binary complete-Volume archive. Native applications can implement VolumeTransport directly over Ivy or a DHT.

MIT


Source: lattice-sdk/packages/volumes/README.md at a68b564b1904