This project is a create-react-dapp
template for building, testing and deploying Solana ZK compression apps using Light Protocol and Helius Photon.
To use it, run npx create-solana-dapp@latest --template pindaroso/solana-zk-starter zk-starter
.
Requirements
- Docker v4.32.2
- Node v18.20.0
- pnpm v7.0.0
- Solana CLI v1.18.22
- Anchor CLI v0.30.1
- Solana Verify CLI v0.2.11
- Rust v1.75.0
- Light Protocol CLI v1.2.0
- Photon Indexer v0.45.0
Install dependencies
pnpm install
Build the app and protocol
pnpm build
Run the light validator
pnpm validator
Stop the light validator
pnpm validator:stop
Deploy the protocol
pnpm deploy:protocol
Sync the app IDL
pnpm sync
Run the app
pnpm dev