DecenTrade icon indicating copy to clipboard operation
DecenTrade copied to clipboard

Switch IPFS Provider from Infura to Pinata Due to Usage Limitations

Open AmanSingh494 opened this issue 2 years ago • 5 comments

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

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

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

AmanSingh494 avatar Sep 29 '24 14:09 AmanSingh494

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

github-actions[bot] avatar Sep 29 '24 14:09 github-actions[bot]

sure @AmanSingh494, assigned to you...

4darsh-Dev avatar Sep 30 '24 04:09 4darsh-Dev

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! 😇

4darsh-Dev avatar Oct 02 '24 12:10 4darsh-Dev

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 avatar Oct 02 '24 15:10 AmanSingh494

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

AmanSingh494 avatar Oct 03 '24 08:10 AmanSingh494