Inspiration

Managing group expenses is always messy—endless Venmo requests, forgotten IOUs, awkward reminders, and duplicate payments. We wanted to solve not just the tracking problem, but the optimization problem: how can friends actually settle up in the fewest possible transactions, with less friction and no confusion?

We were inspired by the potential for blockchain technology to make everyday settlements transparent, trustless, and automatic. Algorand’s programmable money and Bolt’s rapid prototyping gave us the perfect toolkit to bring this idea to life.


What It Does

DebtChain is a blockchain-powered debt optimizer for friend groups.

  • Add friends and debts: Simple, beautiful interface for tracking who owes whom.

  • Network graph visualization: See your entire debt web, color-coded and animated.

  • Magic Settlement: One click finds the minimal set of payments needed to clear everyone’s balance—turning 10+ messy transactions into just a few.

  • Demo Mode: Instantly try all features with realistic sample data.

  • Simulated blockchain settlements: In the hackathon version, settlements are simulated with UI feedback, but the code is architected for real Algorand integration.


How We Built It

  • Frontend: React 18, TypeScript, Tailwind CSS, Zustand, Framer Motion, Lucide icons.

  • Visualization: Custom D3-inspired force graph for debt visualization.

  • Core logic: Greedy graph optimization to compute minimal settlements.

  • Blockchain: Demo simulates Algorand payments, with planned upgrade to Algorand JS SDK + AlgoSigner for on-chain TestNet transactions.

  • Deployment: One-shot Bolt.new prompt, deployed to Netlify.


Challenges We Faced

  • One-shot development: Packing all features, logic, and edge-case handling into a single prompt required maximum planning and discipline.

  • UI/UX clarity: Making network graphs both beautiful and understandable at a glance.

  • Balancing ambition with time: We focused on demo polish and a ready-for-blockchain architecture, leaving live integration for after the hackathon.

  • Edge cases: Handling circular debts, zero-sum cycles, and preventing “lost” money.


What We Learned

  • Graph theory can solve real-world finance headaches.

  • User experience is critical—people will only use what feels easy and delightful.

  • Blockchain simulation is valuable for rapid prototyping, but real-world readiness means designing for wallet connection and live settlement.

  • Bolt.new enables lightning-fast iteration for fullstack apps.


What’s Next / Future Roadmap

DebtChain is just the beginning. Here are features we plan to add:

  • Full Algorand blockchain settlement: Real on-chain group payments, viewable on a block explorer.

  • Smart settlement scheduling: Automate recurring or event-based group settlements.

  • Multi-currency & crypto support: USD, EUR, stablecoins, and more.

  • Shared group wallets & escrow: For trips, events, or ongoing groups.

  • Receipt scanning & AI splitting: Instantly turn a photo of a bill into assigned debts.

  • Blockchain IOUs: Transferable, cryptographically signed promises.

  • Dispute resolution & voting: Built-in, group-based fairness for errors and conflicts.

  • Group chat & instant notifications: All communication in one place.

  • Privacy controls: Make transactions public, group-only, or private.

  • Gamification & rep scores: Badges, leaderboards, and reliability ratings.

  • Expense tracker integration: Export to Splitwise, Mint, and more.

  • Proactive optimization: Get notified when an extra-efficient settlement is possible.

With DebtChain, we’re reimagining group finances: smarter, easier, and more transparent than Venmo or any P2P app.

Built With

Share this project:

Updates