4darsh-Dev / DecenTrade

DecenTrade is a decentralized digital marketplace built on the Ethereum blockchain, enabling secure and transparent transactions for digital assets.
https://decentrade.vercel.app
MIT License
3 stars 5 forks source link

Switch IPFS Provider from Infura to Pinata Due to Usage Limitations #14

Open AmanSingh494 opened 1 day ago

AmanSingh494 commented 1 day ago

Issue Summary

Infura is limiting IPFS usage, which is going to affect the functionality of the app. This issue proposes switching from Infura to Pinata which is providing good IPFS services.

Problem

Currently, the application uses Infura for IPFS, but Infura has recently imposed limits on its IPFS users, which has impacted the app's ability to upload and retrieve files efficiently. As a result, users may experience disruptions in IPFS functionality.

Proposed Solution

Switch from Infura to Pinata for IPFS services. Pinata provides robust IPFS services with fewer limitations, ensuring better availability and reliability. Here’s how the migration could be handled:

  1. Update the IPFS-related code to use Pinata’s API.
  2. Ensure Pinata keys and configurations are securely stored and accessed by the app.
  3. Test the new integration to verify that all file uploads and retrievals work as expected.

    Steps to Implement

  4. Create a Pinata account and generate API keys.
  5. Replace Infura’s IPFS endpoints with Pinata's API endpoints in the codebase.
  6. Update the environment variables to securely store Pinata’s API keys.
  7. Test the application’s IPFS functionality with Pinata.

@4darsh-Dev Please assign this issue to me as a Wob'24 contributor.

github-actions[bot] commented 1 day ago

You've successfully raised your issue, We'll get back to you soon. Don't forget to star⭐ the Repo.

4darsh-Dev commented 15 hours ago

sure @AmanSingh494, assigned to you...