Skip to content

Conversation

@joevianiphoto
Copy link

added an example on how to upload a whole directory to storage

Metadata stored on Filecoin/IPFS at URL: ipfs://HASH/metadata.json
```

I wrote this to store all images from one directory into a folder
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you write in a style consistent with the original content? (For instance, the pronoun is "we" instead of first-person "I").

then upload them all at once, this creates one CID on Filecoin/IPFS and each image can be access by
its owen URL: ipfs://metadata/1.png

async function storeDir() {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code fence :)

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

Successfully merging this pull request may close these issues.

2 participants