Yellow Craft

Scaffold Yellow platform apps with state channels and multi-framework support

Yellow Craft

Created At

ETHOnline 2025

Winner of

Yellow

Yellow - Yellow Prize Pool 2nd place

Project Description

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.

How it's Made

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.

background image mobile

Join the mailing list

Get the latest news and updates