Get the example app
This quest assumes you've finished Getting Started — the Aztec toolchain installed and a local network running. The example app is a small private-voting dApp with a clean split, via plain npm workspaces, between the Noir contracts (packages/contracts) and the TypeScript frontend (packages/app) — you'll meet both in the next steps.
bash
git clone https://github.com/aztec-labs-eng/aztec-private-voting
cd aztec-private-voting
aztec-up use # select the toolchain pinned in .aztecrc
npm installCopy into your AI assistant
code
Clone the Aztec private-voting example app, select the
Aztec toolchain from its .aztecrc, install dependencies with npm, and give me a
tour of its layout — which directories hold the Noir contracts vs. the TypeScript
frontend, and what the npm workspace scripts do.The layout you'll be working in:
code
packages/
contracts/ Noir contracts + generated TypeScript artifacts
private_voting/src/main.nr The PrivateVoting contract itself
private_fee_juice/src/main.nr Private FPC that sponsors testnet votes
test/src/lib.nr Contract unit tests
app/ React + Vite frontend
src/aztec/ The Aztec layer: VotingClient, deployment, bridge, fee payment
src/connection.ts Connection lifecycle the UI binds to
scripts/
deploy.ts Declarative deploy spec (local / testnet)
test/integration/ In-process-network integration tests