Skip to content

Batch uploaded and pinned to IPFS node files into one object (might be useful for FileCoin deals).

Notifications You must be signed in to change notification settings

kalambet/ipfsbatcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IPFS Batcher

Currently, FileCoin network miners are not that eager to make deals over the individual files, but rather want to deal in large pieces preferably more than 1 GiB in size. If you already have some files uploaded in pinned to your IPFS node making a directory from them could be problematic since you need to download files back and upload later as a folder. That is not that convenient afer all.

This repo is an implementation of batching that can be used if you want to make such batches with the files already stored and pinned in your IPFS node.

Ths repo is not intended to be used a library or dependency but holds possible implementation you can use as source to inspiration.

All the meaningful code you need can be found in ipfs.CreateBatch(...) method. Everything else is a proof-of-concept sandbox that checks the resulting piece size using Lotus embedded methods.

About

Batch uploaded and pinned to IPFS node files into one object (might be useful for FileCoin deals).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages