web3-storage / w3up-cli

💻 Command line tools for web3.storage w3up IPFS upload API
Other
15 stars 2 forks source link

Use the same chunking config as the web3.storage js client #106

Open olizilla opened 2 years ago

olizilla commented 2 years ago

The web3.storage js client handles the unixFS chunking and deliberately increases the max block size and sets rawLeaves: true

The w3up-cli should use the same config and document those details as the affect the CID generated for a given input.

see: https://github.com/ipld/js-unixfs#configuration