Skip to content

Feature/505 ipfs upload service - #609

Merged
Tybravo merged 4 commits into
Tybravo:mainfrom
delightonyedikachipixel:feature/505-ipfs-upload-service
Aug 31, 2026
Merged

Feature/505 ipfs upload service#609
Tybravo merged 4 commits into
Tybravo:mainfrom
delightonyedikachipixel:feature/505-ipfs-upload-service

Conversation

@delightonyedikachipixel

Copy link
Copy Markdown
Contributor

Closes #505

Summary
This PR implements the frontend ipfsService to handle uploading media files directly to decentralized storage using the Pinata API.

Changes Proposed

  • Created frontend/services/ipfsService.ts.
  • Implemented uploadFileToIPFS using the pinFileToIPFS Pinata endpoint.
  • Added FormData construction with pinataMetadata for easier file identification in the Pinata dashboard and enforced CIDv1 via pinataOptions.
  • Handled loading and error states gracefully, ensuring missing environment variables or rejected requests return a safe, actionable error object rather than crashing the application.

Acceptance Criteria Checklist

  • Media files upload successfully to IPFS.
  • A valid CID (IpfsHash) is extracted and returned.
  • Integration matches the TypeScript architecture constraints.
  • Loading and error states are handled gracefully.

@drips-wave

drips-wave Bot commented Aug 31, 2026

Copy link
Copy Markdown

@delightonyedikachipixel Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Tybravo
Tybravo merged commit 0e84bc0 into Tybravo:main Aug 31, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Frontend] [Feature] Implement IPFS/Pinata upload service for Media Files

2 participants