Connecting to a network
When using the chunking uploader, first create an Irys
object using the same flow as with our default uploader 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 getIrys();
let uploader = irys.uploader.chunkedUploader;