Installation
To scaffold an Aztec dapp using create-aztec-dapp
, run any of the following commands and answer the command prompt questions:
npm
npm create aztec-dapp@latest
yarn
yarn create aztec-dapp
pnpm
pnpm create aztec-dapp@latest
bun
bun create aztec-dapp@latest
About Create Aztec Dapp
Create Aztec Dapp is a CLI tool that helps you quickly set up a new Aztec decentralized application with all the best practices and configuration ready to go. It provides:
- React templates for building your frontend
- Aztec SDK integration for interacting with the protocol
- Tailwind CSS support for styling
- TypeScript for type safety
- Aztec Sandbox for local development
CLI Options
Option/Flag | Description |
---|---|
[dir] | Include a directory argument with a name for the project |
--noGit | Explicitly tell the CLI to not initialize a new git repo in the project |
-y , --default | Bypass the CLI and bootstrap a new dapp with all options selected |
--noInstall | Generate project without installing dependencies |
Getting Started
Once your project is created:
-
Navigate to your project directory:
cd your-project-name
-
Start the development server:
npm run dev
-
Open your browser and navigate to
http://localhost:3000
to see your new Aztec dapp!
Next Steps
After installing your Aztec dapp, you can:
- Explore the project structure
- Check out the Aztec SDK documentation
- Begin building your zero-knowledge application logic
- Deploy your contracts to an Aztec network