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
14 stars 62 forks source link

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

Closed AmanSingh494 closed 1 month ago

AmanSingh494 commented 1 month 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 month ago

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

4darsh-Dev commented 1 month ago

sure @AmanSingh494, assigned to you...

4darsh-Dev commented 1 month ago

Hey @AmanSingh494 ! Thank you so much for your raising the issue💗 It’s all yours, you can come anytime again and make some contributions! 🚀 Alone, we can do little, but together we can do so much! 😇

AmanSingh494 commented 1 month ago

You are welcome and Thanks to you too for giving me the opportunity to contribute to this project @4darsh-Dev. Looking forward to make more good contributions!!

Hey @AmanSingh494 ! Thank you so much for your raising the issue💗 It’s all yours, you can come anytime again and make some contributions! 🚀 Alone, we can do little, but together we can do so much! 😇

AmanSingh494 commented 1 month ago

@4darsh-Dev Please add hacktoberfest label too as I have participated in that too.