About
## Wave 1 submission
DecryptPay is a decentralized marketplace where creators can upload encrypted content, store it permanently on Filecoin via Synapse, and sell access using Filecoin Pay. Users pay in FIL/USDFC, retrieve files from Filecoin storage, and decrypt them trustlessly — ensuring creators are paid fairly and buyers always get access.
In this wave, we focused on strengthening the documentation and project clarity: Added a detailed README to explain the project, setup, and usage. Created system and flow diagrams to visualize the architecture and user interactions. Compiled and organized content into a Notion workspace for better collaboration and presentation.
## Wave 2 submission
We started the last wave with the idea of a secure decentralized content marketplace for creators.
In this wave, we set up a Next.js + Tailwind frontend with backend for metadata and thumbnails. Integrated RainbowKit + Wagmi for wallet-based login on Filecoin calibration testnet.
Storage & Encryption (Synapse SDK)
- Integrated the Synapse SDK to handle encrypted uploads directly to Filecoin storage.
- On upload, files are encrypted, stored, and return a file_cid.
- Added metadata storage in online database(file_cid, file extension, title, description, price).
- Implemented download + decryption using Synapse, so only buyers can unlock files.
- Solved .bin issue by saving the file extension & MIME type in DB at upload → ensures correct format on download/view.
Payments (Filecoin Pay)
- Integrated Filecoin Pay for seamless purchase flow. - Buyers can purchase content with tFIL / USDFC in a 1-click checkout. - On success, transactions are recorded in Supabase (content_id, buyer_address, tx_hash). - Access is conditional: Buyers see View / Download only if purchase exists. This extended Filecoin Pay beyond demo → into a real marketplace checkout system.
Marketplace UI/UX
- Built Content Cards showing thumbnail, price in tFIL, creator (shortened address), and description.
- Creator or buyer does not see a Buy button again (handled with logic).
- Individual content pages show details, thumbnail, price, and purchase button.
- Added Share button and integrated Supabase thumbnail storage for creator branding.
Buyer & Creator Experience
For buyers:
- Purchase → Unlocks content via Synapse decryption. - Can View in-browser or Download with correct file type.
For creators:
- Upload & encrypt content directly to Filecoin. - Revenue balance displayed in Navbar → calculated from purchase table where creator_address = currentUser. - Ensures creators have a live dashboard of their earnings.
Final Integration
- Full end-to-end pipeline completed: - Upload → Encrypt & store with Synapse on Filecoin. - Purchase → Seamless checkout via Filecoin Pay. - Unlock → Buyer-only access with decryption. - Balance → Live revenue updates for creators.
Combined Synapse SDK + Filecoin Pay into a real-world DApp, showing how Filecoin’s ecosystem tools can be used to solve piracy, payments, and creator monetization.
Prizes
- Wave 2 grant · 28.02 USDFC
From the public Akindo product page. Votes, swipes and the judge score are hackfeed's own.





