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

Update mint-nftstorage-polygon.md #235

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

joevianiphoto
Copy link

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

@@ -176,6 +176,27 @@ Your output should look like the listing below, where `HASH` is the CID to the a
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