- Install Dependencies
npm install
- Environment Variables
- Set
SINDRI_API_KEY
environment variable (e.g. in .env file) - Set zkVerify wallet
SEED_PHRASE
environment variable (e.g. in .env file)
- Compile & Deploy the circuit on Sindri
npx tsx compile.ts
- Generate a proof on sindri to test everything is setup
npx tsx prove.ts
Generate a proof using Sindri then verify the proof using zkVerify
npx tsx verify.ts
npm run dev