Inspiration

Turning subreddits into a pocket stock exchange felt like a fun, instantly understandable demo.

What it does

Karma Market lets users trade ten curated subreddits. Prices drift every two minutes, trades fill instantly, and the tape + leaderboard update in real time.

How we built it

  • React 19, Vite, Tailwind, Radix, and Framer Motion for a polished UI
  • Express + Devvit APIs for Redis storage, realtime broadcasts, and scheduler-driven price ticks.
  • TypeScript everywhere, SWR for data, Vitest/ESLint/ keeping the codebase tidy.

Challenges we ran into

Handling Devvit’s context requirements for realtime calls and tuning volatility so the market felt lively but sane.

Accomplishments we're proud of

A price engine that feels believable and a playtest experience where you can trade immediately with a preloaded account

What we learned

Respect Devvit’s runtime quirks (context-driven APIs, port forwarding), invest early in design tokens, and lean on optimistic updates with Redis fallbacks to keep trades feeling instant.

What's next

Swap in real subreddit signals behind a feature flag, ship richer order types/analytics, and explore social features like shared watchlists once the loop is live.

Built With

Share this project:

Updates