Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pinata - create folder instead of uploading to the root #30

Open
dokluch opened this issue Oct 25, 2022 · 2 comments
Open

Pinata - create folder instead of uploading to the root #30

dokluch opened this issue Oct 25, 2022 · 2 comments

Comments

@dokluch
Copy link

dokluch commented Oct 25, 2022

Feature request - it would be beneficial to first create a folder and then upload to it on IPFS, or point config directly to the already created folders

@bilaljawed
Copy link

Feature request - it would be beneficial to first create a folder and then upload to it on IPFS, or point config directly to the already created folders

Yeah this would be lovely! need an option to directly point config to the ipfs folder

@unordered-set
Copy link

unordered-set commented Oct 27, 2022

I figured out how to do it, and turned out it is pretty cumbersome. You need to provide all of the files at once, so that the folder hash is computed correctly. If you change it to this mode, you are losing your ability to do re-uploads and the whole process is becoming more fragile. It is not the software's fault, but more a IPFS limitation/feature.

But you can take a look unordered-set@38e8b85 as an inspiration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants