Inspiration

The creator economy is booming, but the "merch model" is broken. Currently, when a fan buys a $50 hoodie, it’s a sunk cost. It sits in a closet, and its value drops to zero. Meanwhile, if that creator becomes the next big star, the early supporters see zero financial upside, and the creator earns $0 from any resale on platforms like eBay.

We asked: "Why can't fan loyalty be an investable asset?"

We wanted to build a system where merchandise isn't just "stuff"—it's a liquid asset. By turning merch drops into tradable NFTs, we create a win-win: fans get assets that can appreciate in value as the creator grows, and creators earn perpetual royalties on every single trade forever.

What it does

StreamDEX is the first decentralized "Live-Marketplace" for the creator economy. It combines a Twitch-like viewing experience with an OpenSea-like trading engine.

  1. Live Stream & Hype: Users watch a creator's stream via the app. To unlock a "Drop," the audience must collectively spam "Hype" interactions, gamifying the buying experience.
  2. Instant Minting: Once unlocked, fans mint a "Digital Receipt" (ERC-1155 NFT) representing the physical item (e.g., a Genesis Hoodie).
  3. The Trading Floor: Unlike a standard store, users can immediately list their items on our built-in Secondary Market.
  4. Invest-to-Watch: If a creator's popularity spikes, the demand for their "OG" items rises. Fans can trade these assets for profit without ever touching the physical item ("Pre-Shipping Trading").
  5. Burn-to-Redeem: When a holder actually wants the physical product, they "Burn" the NFT to trigger the shipping logistics.

How we built it

We prioritized a high-performance, low-cost stack to make "high-frequency trading" of merch viable.

  • Blockchain Network: We deployed on Polygon (Amoy Testnet). Its near-zero gas fees are essential for micro-transactions and frequent trading.
  • Smart Contracts: Written in Solidity and developed using Foundry. We created a custom Marketplace.sol contract that handles atomic swaps and enforces a 5% creator royalty on every secondary sale.
  • Streaming Infrastructure: We integrated Livepeer for decentralized video transcoding and broadcasting. This allows us to be censorship-resistant and cost-effective compared to AWS IVS.
  • Frontend: Built with Next.js and Tailwind CSS (utilizing a custom Neobrutalism design system).
  • Web3 Logic: We used RainbowKit + Wagmi to handle wallet connections and complex state management (approvals, listing, buying).
  • Storage: NFT metadata and asset images are pinned to IPFS via Pinata to ensure decentralized persistence.

Challenges we ran into

  • The "Oracle" Problem of Hype: Syncing the off-chain "Hype Meter" (user clicks) with the on-chain "Mint Unlock" status was tricky. We had to ensure the contract state updated securely without allowing bots to bypass the engagement requirement.
  • Video Latency vs. Block Time: Balancing the live video feed (which has latency) with blockchain confirmations. We solved this by using optimistic UI updates on the frontend while waiting for the Polygon indexer to catch up.
  • Marketplace Logic: Writing a custom marketplace contract from scratch (instead of forking one) was challenging, specifically the "Royalty Split" logic to ensure the creator gets paid instantly in the same transaction as the seller.

Accomplishments that we're proud of

  • Seamless Integration: We successfully combined a video player and a DEX in one interface without it feeling clunky. It feels like "Twitch meets Robinhood."
  • The Design System: We are really proud of the Neobrutalist / Cyber-Industrial UI. It stands out in a sea of generic "clean" Web3 dashboards.
  • Functional Economy: Seeing a test user "Mint" an item and then immediately "List" it on the marketplace tab for a higher price was a huge "Aha!" moment—it proved the economic theory works.

What we learned

  • UX is King in Web3: Users don't care about "decentralization" as much as they care about "Does it work?" Abstracting away the complexity of approval transactions is crucial.
  • Liquidity is Everything: A marketplace without liquidity is dead. We learned the importance of "Gamifying" the drop to create instant demand and volume right at the start.

What's next for StreamDEX

  • Physical Logistics Oracle: Integrating with a service like Shopify API or a Web3 logistics partner so the "Burn-to-Redeem" event automatically generates a shipping label.
  • Cross-Chain Support: Expanding to Base and Arbitrum to tap into more liquidity.
  • Prediction Markets: Allowing users to "Long" or "Short" a creator's future clout using their badge price as the index.

Built With

Share this project:

Updates