Inspiration
What it does
🌟 Inspiration
In today’s world, opportunities are often limited not by talent, but by economic inequality. People with valuable skills—students, freelancers, caregivers, teachers—are unable to exchange services fairly because traditional platforms rely on money, market pricing, and centralized control.
This creates barriers that are financial (high-cost services), systemic (skill-based pricing), and trust-related (fraud or non-payment). At the same time, millions of people want to learn skills, share knowledge, or help their community, but lack a fair, safe way to do so.
We were inspired by a simple question:
“What if time itself became the currency, and every human hour had equal value?” ⏳✨
That idea became the foundation for our project: A Decentralized Time-Banking System, where 1 hour = 1 TimeToken (TTK) and everyone can participate in a fair, trustless, and transparent service economy—powered by blockchain, real-time communication, and community-driven exchange.
🛠️ How We Built It
TimeToken (TTK) ⏳ – A custom ERC-20 token deployed on Ethereum Sepolia, where 1 TTK = 1 hour of service, ensuring equal valuation across all skills and professions.
Dual-Confirmation Escrow 🔐 – A blockchain-secured model using Solidity + ReentrancyGuard, ensuring tokens are released only when both parties confirm service completion, preventing fraud and disputes.
Decentralized TimeBank Contract ⚖️ – Handles user registration, reputation, service creation, acceptance, and completion. Every service boosts reputation and encourages quality contributions.
Hybrid Architecture 🌐 – On-chain: financial settlement + reputation Off-chain: chat, video calls, listings, notifications Built with Node.js, Express, MongoDB, Socket.io, and WebRTC.
Real-Time Communication 💬📹 – Socket.io powers instant chat, typing indicators, and online status. WebRTC supports peer-to-peer video calls, enabling remote skill exchanges such as tutoring, coaching, or consulting.
Frontend Experience 🎨 – Built in React, TypeScript, Vite, TailwindCSS, with Wagmi + RainbowKit for wallet integrations. Optimistic UI ensures smooth user experience even during blockchain confirmation delays.
Event Reconciliation Engine 🔄 – Syncs blockchain events with MongoDB using transaction logs to keep states consistent across all layers.
📚 What We Learned
Blockchain Usability ⚙️ – Balancing decentralization with real-time UX requires hybrid design; not all data belongs on-chain.
Escrow Security 🔐 – Dual-confirmation reduces disputes drastically and builds trust without moderators.
User Experience Matters 💡 – Real-time chat and video calling make decentralized services feel as natural as traditional apps.
Fair Economy Design ⚖️ – Equal-time valuation can reduce inequality and promote community-led participation.
⚡ Challenges
Latency ⏳ – Handling blockchain confirmation delays while maintaining a smooth user experience required optimistic UI design and event reconciliation.
Real-Time Sync 🔄 – Maintaining consistent user and service state across on-chain and off-chain systems.
Identity & Trust 🧑💼 – Designing a fair reputation system that encourages honesty without enabling exploitation.
Scalability ⚡ – Managing live chat, video calls, and blockchain interactions for large user groups.
💫 Closing Thought
This project is more than a marketplace—it is a new form of economy. A place where time becomes currency, trust is enforced by smart contracts, and communities grow through collaboration instead of competition.
✨ In our system, every hour is equal—because every human’s time has value. ✨
$$\text{TimeBalance} = \sum_{i=1}^{n} (\text{hours_earned}_i - \text{hours_spent}_i)$$
💻 Example Contract Snippet
function createServiceRequest( string memory description, uint256 timeRequired, uint256 timeOffered ) external onlyActiveUser returns (uint256) { uint256 id = nextRequestId++; serviceRequests[id] = ServiceRequest(msg.sender, description, timeRequired, timeOffered); return id; }
Log in or sign up for Devpost to join the conversation.