Build
ONCHAIN STORAGE
SDK
Connecting

Connecting

When using the chunking uploader, first create an Irys object and then follow that by requesting the chunked uploader using irys.uploader.chunkedUploader.

ℹ️

The chunkedUploader object reference must be updated before each subsequent upload, it can not be reused.

let irys = await getIrysUploader();
 
let uploader = irys.uploader.chunkedUploader;
ℹ️

Use a token-specific version of getIrysUploader() to connect to an Irys Bundler before uploading. Choose one from here.