Articles on: Smart Contract

How to upload a collection to IPFS?

How to Upload Your Assets and Metadata to IPFS



Follow this easy 4-step guide to upload your images and metadata to IPFS using Filebase or Pinata, and link them correctly for your NFT project.
At this end of this guide, you will have one CID for your assets (images) and one CID for your metadata.

Step 1: Upload Your Assets Folder



Make sure you already have generated a collection using our generated and extract all the files from the zip you downloaded.

Create an account on Filebase or Pinata.
Log in to your IPFS provider account and upload the assets folder.
Once uploaded, you'll receive an IPFS CID. Save this CID—you will need it later.

Step 2: Regenerate Your Metadata



Visit NFT Generator Metadata Tool.
Click "Choose file" and select the metadata.json from your metadata folder. Your collection's name and description will auto-populate if already set.
In the "Image URL Prefix" field, enter: ipfs://YOUR_ASSETS_CID/. Make sure to replace YOUR_ASSETS_CID with the CID from Step 1, and don't forget the / at the end.
Click "Generate" to update your metadata.

Step 3: Upload Your Updated Metadata



Go back to your IPFS Provider account.
Upload the newly generated metadata folder.
You'll receive a new CID for the metadata. Save this CID too.

Step 4: Deploy Your Smart Contract (optional)



Go to your NFT Generator account page.
Create a new smart contract by selecting "I have my own collection."
Enter both CIDs:
- The first CID (Step 1) for the Images CID.
- The second CID (Step 3) for the Metadata CID.

You're now set to deploy your NFT collection.

Updated on: 28/03/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!