Yellow Craft
Scaffold Yellow platform apps with state channels and multi-framework support
Problem Statement
A powerful CLI scaffolding tool for building applications on the Yellow platform. Quickly generate projects with off-chain state channel functionality, supporting React, Vue, and Angular frameworks. Includes pre-built dApp templates (Auction and Payment), TypeScript support, Yellow service integration, and comprehensive development tools. Perfect for developers building fast, low-latency dApps with Yellow's Nitrolite SDK.
Solution
Yellow Scaffold uses a template system to generate working projects. Built in TypeScript, it divides responsibilities into CLI handling, project structure creation, and file writing. Templates are defined as simple config objects that specify dependencies and features; code is generated by string interpolation and file writing. It supports React, Vue, and Angular, generating code, configuration files, styling, and docs. Yellow integration adds a WebSocket service to connect, authenticate, and manage sessions, with a demo mode when a private key isnโt configured. The file generator produces both TypeScript and JavaScript variants and is extensible to new templates. The CLI supports interactive prompts and a non-interactive flag, validates inputs, detects duplicate directories, and lets users choose template, language (TS/JS), and package manager (npm/yarn/pnpm). The result is a complete, ready-to-run project in seconds.
Hackathon
ETHOnline 2025
2025
Prizes
- ๐
Yellow Prize Pool2nd place
Yellow
Contributors
- Kaustubh-404
2 contributions
- AtharvaWaghchoure
1 contributions