CompleteFrameworks
Midnight Starter Template
A comprehensive monorepo template combining React frontend with Midnight smart contracts. Features Turbo for build management, Vite-powered React app, CLI tools for blockchain interactions, and full TypeScript support.
Quick Start
1
Clone the template
git clone https://github.com/MeshJS/midnight-starter-template.git2
Install dependencies
cd midnight-starter-template && npm install3
Start development
npm run devFeatures
Monorepo Structure
Organized with Turbo for efficient build management across packages.
Vite-Powered React
Fast, modern React frontend with hot module replacement.
CLI Tools
Command-line tools for deploying and interacting with contracts.
Docker Support
Containerized local development environment ready to go.
Preview & Standalone
Support for both Preview Network and Standalone modes.
TypeScript Throughout
Full TypeScript support for type-safe development.
Project Structure
apps/frontendVite + React frontend applicationapps/cliCommand-line tools for contract interactionpackages/contractsCompact smart contractspackages/sdkShared SDK utilitiesdockerDocker configuration filesWhat's Included
Frontend App
- • React 18 with TypeScript
- • Vite for fast development
- • Lace wallet integration
- • Contract interaction hooks
- • Responsive UI components
Smart Contracts
- • Example Counter contract
- • Compact language templates
- • Type generation scripts
- • Deployment configurations
- • Testing utilities
Maintainers
Built by Edda Labs and MeshJS
MeshJS on GitHub