# Zircuit

> The system that schedules and runs proof jobs for an EVM-compatible ZK-rollup, plus its release engineering, from the first commits to public launch.

**TL;DR.** Case study of work by Ali Farooq, Product Engineer (Sep 2022 – Feb 2026). **Company.** Zircuit. **Ali's role.** Senior backend engineer. **Outcome.** Public mainnet, Aug 2024.

Web version at https://www.alifarooq.io/work/zircuit/, updated 2026-10-19.

Written by Ali Farooq in the first person, so "I" below means Ali.

## At a glance

- **Company.** Zircuit
- **Product.** EVM-compatible ZK-rollup
- **Timeline.** Sep 2022 – Feb 2026
- **My role.** Senior backend engineer
- **Stack.** Go · NATS · Rust · Optimism Bedrock
- **Outcome.** Public mainnet, Aug 2024

## Summary

- **Challenge.** If proving falls behind, a rollup’s state can’t advance and blocks can’t finalize.
- **What Ali owned.** The system that schedules and runs proof jobs (NATS, Go, Rust prover), prover upgrades and rollouts, and the public release pipeline.
- **Result.** From the first commits to **public launch** as one of the first four engineers. Open-source publishing ~2.5× faster.
- **Shows.** distributed systems · releases and rollbacks · early-stage
- **Stack.** Go, NATS, Rust (SP1 prover)
- **Relevant if you're hiring for.** Backend and distributed systems, Releases and reliability, Early-stage teams, Blockchain infrastructure

*[Image] Zircuit’s illustrated cat mascot in sunglasses, sitting in a meadow beside a map. Artwork from Zircuit’s blog post on its journey from testnet to mainnet.*

**Architecture diagram.** The system I architected to schedule and run proof jobs, from block selection to batch proofs published on Ethereum. Drag to pan and scroll to zoom. Open it at https://link.excalidraw.com/readonly/hI5lHzpyHQanKGIy8WMx?darkMode=true

## Challenge

Zircuit is an EVM-compatible ZK-rollup with AI-powered security at the sequencer. Every batch has to be proved, and if proving falls behind, state can’t advance and blocks can’t finalize. The proving pipeline had to keep up, survive prover upgrades, and never hold up the chain.

## Constraints

- Proof jobs are long and expensive. A batch was proved every 5 to 6 hours, scaling to 8 to 10 provers under load.
- Every upgrade meant letting running jobs finish first, across staging, testing and production, with DevOps and external partners.
- Internal code had to stay private while the protocol code was published openly.

## What I owned

I was among the first four engineers, from the first commits to public launch.

- **Proof jobs.** Architected the system that schedules and runs proof jobs, with a NATS message bus, Go consumers running jobs concurrently, and a Rust prover as the worker.
- **Prover migrations.** Moved the proving stack from Halo2 to SP1, helped move the pipeline onto a new job-scheduling system, and owned prover upgrades in production.
- **Sequencer screening.** Built detectors on the sequencer-level security interface, including the blocklist and allowlist that decide which transactions are admitted.
- **Public release pipeline.** Automated publishing of the open-source monorepo from the private tree, stripping internal code before each push.
- **Release reliability.** Let running jobs finish before each upgrade, restarted the pipeline after, and ran the rollback when one failed.

## Approach

Never let proving hold up the chain. A durable message bus keeps producing batches separate from proving them, proof jobs run concurrently, and the pool of provers scales with load.

Upgrades are treated as operations. Let running jobs finish, upgrade, check it, restart, and keep a rollback ready.

## Results

- Zircuit’s Mainnet Phase 1 went live on August 5, 2024.
- Publishing to the open-source monorepo became about 2.5× faster, with internal code stripped automatically.
- Proving scaled to 8 to 10 provers under load.

Zircuit has since moved its L2 to Conduit, and the public repositories are kept for legacy purposes.

## Skills this shows

| If your role needs | Evidence in this project |
| :-- | :-- |
| Distributed systems | A NATS-based system that schedules and runs long proof jobs, scaled to 8–10 workers. |
| Release engineering | Upgrades that let running jobs finish, then restart, across three environments, with rollback. |
| Production migrations | Moved the prover from Halo2 to SP1 in production. |
| Security-sensitive systems | Transaction-screening detectors at the sequencer. |
| Open-source operations | An automated public mirror of a private monorepo. |

## What this means for your project

- **Running long, expensive jobs that can’t fall behind?** I design the concurrency so a slow step queues work instead of holding everything else up.
- **Upgrading critical infrastructure in production?** I treat upgrades as operations. I let running jobs finish, upgrade, check it, restart, and keep a rehearsed rollback ready.
- **Early team, no process yet?** I’ve built release management and incident response from scratch while shipping features.

## On the record

- **From testnet to mainnet** (Zircuit blog). Zircuit’s own look back at the road from testnet to mainnet, and what comes next. https://www.zircuit.com/blog/from-testnet-to-mainnet-zircuits-journey-and-the-future-of-scalable-ethereum
- **Mainnet Phase 1 is live** (Zircuit blog). Zircuit’s announcement of its public mainnet launch. https://www.zircuit.com/blog/mainnet-phase-1-is-live
- **Zircuit mainnet and ZRC airdrop** (The Block · Aug 5, 2024). Independent coverage of the mainnet launch. https://www.theblock.co/post/309443/zircuit-mainnet-zrc-token-airdrop-claims
- **zkr-monorepo-public** (GitHub). The open-source monorepo, published by the release pipeline I built. https://github.com/zircuit-labs/zkr-monorepo-public

## Hire Ali

- **Availability.** Available for new projects
- **Engagement.** Fixed-fee builds
- **Engagements.** Diagnostic (Paid · first step), then Build (4–8 wks · fixed fee), then Retainer (Monthly · optional). Builds typically start at $25k USD.
- **Contracting.** Engagements are contracted through DevFusion Labs; I invoice in USD.
- **Location.** Canada, remote · US hours
- **Book an intro call.** https://calendar.app.google/hU73vNhksaeYxcDr6
- **Email.** dm@alifarooq.io (subject "New project")
- **Hiring brief for AI agents.** https://www.alifarooq.io/for-agents.md
