Skip to main content


The BundlrClient is a module designed to handle file uploads and downloads using the Bundlr network. It extends the abstract StorageModule class and provides implementations for various storage-related functionalities. The module integrates with the Bundlr network to manage the cost of uploading files and enables easy retrieval of files using the provided URIs.

const bundlr = await;

// Uploading Files
const file = fs.readFileSync(...);
const honeycombFile = toHoneycombFile(file, "...");
const cost = await;
const fileUri = await;

// Download File
const fileDownloaded = await;

// Uploading JSON
const json = {...};
const cost = await;
const jsonUri = await;

// Download JSON
const jsonDownloaded = await;