A starter template for building privacy-preserving web applications on Miden.
This boilerplate provides a complete setup with Vite, React, TypeScript, and shadcn/ui, it builds upon the Miden Bank tutorial with examples of how to use the Miden React SDK and the Miden Wallet Adapter.
- Miden Rust Compiler to build smart contracts on Miden using Rust.
- Miden React SDK for deploying and interacting with Miden accounts on-chain.
- Miden Wallet Adapter for using the Miden Wallet browser extension wallet.
You can test a live demo of the boilerplate deployed on production.
- Node.js >= 22.0.0
- pnpm package manager
- midenup installed and configured with the stable toolchain
# Clone the repository
git clone https://github.com/walnuthq/miden-web-boilerplate.git
cd miden-web-boilerplate
# Install dependencies
pnpm install# Build contracts using miden build --release
pnpm build:contracts
# Start the development server
pnpm devThe application will be available at http://localhost:5173