Skip to main content

Commands & Tasks

Essential commands for working in the aZKey monorepo.

Repo-level

pnpm build   # build all packages
pnpm lint # lint all packages
pnpm test # run all tests

SDK

cd packages/sdk
pnpm build
pnpm test # unit tests
pnpm test -- -t "name" # single test

Interface (SvelteKit demo)

cd apps/interface
pnpm dev # start dev server at http://localhost:5173
pnpm check # type check

Noir circuits

cd packages/contracts/noir/<circuit>
nargo build # compile
nargo test # run circuit tests
nargo info --json # profile constraints

Deployment helpers

  • Publish SDK: npm publish (from packages/sdk)
  • Deploy interface: vercel deploy (from apps/interface)
  • Aztec Sandbox: aztec sandbox (after installing @aztec/cli)