Home Storage

Storage

Storage & IPFS
Gregory M
By Gregory M
3 articles

How to pin a CID to IPFS

How to Pin a CID: A Step-by-Step Guide Introduction Pinning a CID on the IPFS network means keeping your file (or data) available on the network regardless of its original source. With Filebase, you can easily do this by “pinning” the file using its unique content identifier (CID). Follow these steps to get started. Step 1: Create an Account on Filebase 1. Visit Filebase: Open your web browser and go to the Filebase website. 2. Sign Up: Click the “Sign Up” or “Get Started” button to register for an account. Fill in the required details such as your email, username, and password. 3. Verify Your Account: Check your email for a confirmation message and follow the link provided to verify your new account. Step 2: Locate Your CIDs 1. Gather Your CIDs: In your collection, you should have two CIDs: - One CID for your images. - One CID for your metadata. 2. Make a Note: Write down or copy these CIDs so you can easily use them in the next step. Step 3: Pin Your CIDs on Filebase 1. Log In to Filebase: Once your account is set up, log in to access your dashboard. 2. Start the Pinning Process: Look for the “Upload” button on your dashboard. Click on it to start pinning a CID. 3. Select the CID Option: Instead of uploading a file from your computer, choose the option to “pin by CID” (or similar wording). 4. Paste Your CID: Paste the first CID (for your images) into the provided field and confirm the upload/pin. 5. Repeat for the Second CID: Follow the same process to pin your metadata CID. Conclusion By completing these steps, you will have successfully pinned your image and metadata CIDs on Filebase, ensuring that your content stays available on the decentralized IPFS network. If you encounter any issues or need further assistance, check out Filebase's support resources or contact their customer service. Happy pinning! Pin by CID screenshot

Last updated on May 27, 2025

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. 1. Create an account on Filebase or Pinata. 2. Log in to your IPFS provider account and upload the assets folder. 3. Once uploaded, you'll receive an IPFS CID. Save this CID—you will need it later. Step 2: Regenerate Your Metadata 1. Visit NFT Generator Metadata Tool. 2. Click "Choose file" and select the metadata.json from your metadata folder. Your collection's name and description will auto-populate if already set. 3. 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. 4. Click "Generate" to update your metadata. Step 3: Upload Your Updated Metadata 1. Go back to your IPFS Provider account. 2. Upload the newly generated metadata folder. 3. You'll receive a new CID for the metadata. Save this CID too. Step 4: Deploy Your Smart Contract (optional) 1. Go to your NFT Generator account page. 2. Create a new smart contract by selecting "I have my own collection." 3. 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.

Last updated on May 27, 2025