midnight_scaffold_project
Create a new Midnight dApp project from templates for counter, token, voting, or blank. Generates contract files, TypeScript SDK, and optional React UI.
Instructions
Scaffold a new Midnight dApp project from a template.
Templates available:
counter: Simple counter contract (great for learning)
token: Private token with transfers and balances
voting: Privacy-preserving voting system
blank: Empty project structure
Generates:
Compact contract files
TypeScript SDK integration
React UI (optional)
Build and test configuration
Use this tool to:
Start a new Midnight project quickly
Learn from example contracts
Set up proper project structure
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Project name (will be used as directory name) | |
| template | No | ||
| include_ui | No | ||
| package_manager | No | ||
| output_dir | No | ||
| use_cli | No | ||
| create_files | No |