Flake

Stop no-shows. Clients lock USDC to book, refunded instantly upon arrival

Flake

Created At

HackMoney 2026

Project Description

TrustBook solves the costly problem of "no-shows" for freelancers, doctors, and consultants. In traditional booking systems, enforcing cancellation fees is difficult due to high banking friction and transaction costs. TrustBook utilizes Yellow Network's high-speed state channels to create a friction-free escrow system.

When a client books a time slot, they lock a small USDC deposit (e.g., $5) into a secure App Session. This is not a payment, but a commitment. The logic is simple: if the client arrives, the funds are instantly returned to their wallet with zero gas fees. If they miss the appointment, the deposit is transferred to the provider as compensation. This creates a powerful psychological and financial incentive to respect time, made possible only by the off-chain speed and zero-cost architecture of Yellow Network.

How it's Made

This project is built using Next.js for a reactive frontend, styled with Tailwind CSS for a clean user interface. The core innovation lies in the integration of the Yellow Network Nitrolite SDK.

Instead of traditional on-chain transactions, we implemented the "App Session" architecture. When a user confirms a booking, the app triggers a createAppSessionMessage that locks the user's USDC into a multi-party state channel. This state is cryptographically signed but remains off-chain, ensuring no gas fees are incurred for the reservation.

For the settlement logic, we built a logic controller that constructs a close_app_session message based on the appointment outcome. We utilized the allocations vector feature: if the status is "Completed," the vector returns 100% of the funds to the user. If the status is "No-Show," the allocation flips to the provider. This approach allows for instant, trustless settlement that would be economically impossible on Ethereum L1 due to gas costs.

background image mobile

Join the mailing list

Get the latest news and updates