
Root14 is a ZK primitives toolkit for Soroban. Two shipping components, both Stellar-native:
r14-core — Shared Groth16 Verifier Registry (Soroban contract). General-purpose on-chain verifier. Any Soroban app registers a circuit's verification key via register(vk) → circuit_id (content-addressed sha256(vk)), then any contract calls verify(circuit_id, proof, public_inputs) → bool. Stellar integration: uses all 16 BLS12-381 host functions shipped in Protocol 22 — bls12_381.pairing_check() is the entire verification cost center (~40M instructions, ~40% of the 100M budget). Without a shared registry every privacy or compliance app on Stellar reimplements pairing verification, ships its own audit, and competes for verifier surface area. Impact: makes ZK verification a public primitive — any new circuit registers once and is immediately callable by every Soroban contract on the network.
r14-primitives + r14-sdk — ZK primitive circuit library and Rust SDK. A vetted library of small, reusable Groth16 circuits — range proofs, set membership, ownership / preimage knowledge, attribute attestation — plus a Rust SDK that generates proofs for each, serializes them in arkworks ↔ Soroban-compatible form, and submits the verify call. CLI (`r14`) for humans, MCP server (`r14-mcp`) for LLM agents, and a registry event indexer for circuit/VK discovery. Stellar integration: SDK uses Soroban SDK 25.1, Stellar RPC for event subscription; primitives are designed against the Soroban 100M-instruction verification budget. Impact: cargo add r14-sdk reduces a months-long ZK integration to a one-call dependency for any Soroban developer.
What this unlocks for Stellar: 160+ funded Soroban projects with no ZK tooling today. Compliance gates (KYC allowlists, sanctions non-membership), confidential auctions, range-bound credit checks, attestation-based access control, custom application circuits — all callable through a shared, audited verifier with content-addressed circuit identity. Apps that use these primitives (including any future shielded-pool implementation) are downstream concerns, not part of this proposal.
$50.0K
Users who have already used it:
[https://docs.google.com/spreadsheets/d/1ZpdHb_G_KPVAIXDs-OG5kKlGgGzfgpkEpVNH6w5ctbk/edit?usp=sharing](https://docs.google.com/spreadsheets/d/1ZpdHb_G_KPVAIXDs-OG5kKlGgGzfgpkEpVNH6w5ctbk/edit?usp=sharing(Please)
(Please ask for an access)
On-chain (live):
A reference circuit is registered and verifies end-to-end on testnet — first cross-contract Groth16 verification on Stellar via the shared-registry pattern
Live transaction trail linkable from the docs site
Codebase (public):
Rust workspace, ~8,000 LOC, 129 passing tests
6 circuit types implemented and benchmarked: range (401 R1CS), ownership (266), preimage (266), set-membership (5,727), plus two larger reference circuits used internally to stress the registry
Complete developer toolchain: SDK, CLI, MCP server, event indexer with REST API, Docusaurus docs site
Measured engineering signals:
288-byte constant Groth16 proofs (3 curve points) regardless of circuit size
~40M instruction on-chain verification (~40% of Soroban's 100M budget)
~$0.006 per verify call at current testnet rates
2–4 second proof generation on commodity hardware for primitives in the library
Validated need:
SDF Meridian 2025 privacy strategy explicitly calls for ZK primitives on Soroban. Root14 is the only shared-registry implementation on the network.
Nethermind's stellar-private-payments independently validates ZK-on-Stellar demand but embeds its own pairing verifier inside its application contract — this is precisely the gap a shared registry fills.
Protocol 22 shipped 16 BLS12-381 host functions (CAP-0059) specifically enabling this architecture. Root14 is the only project on Stellar exercising all of them.
First ZK-on-Stellar MCP integration — Claude and other MCP-compatible LLMs can register circuits and trigger verify calls through natural language. Novel surface, zero competitors.
Completion: approximately 6 weeks from award acceptance
Allocation: $10,000
Deliverable 1.1 — Public SDK release
Description: A public Rust SDK for the Root14 registry — circuit registration, proof generation against the primitive library, verify call construction, and arkworks↔Soroban serialization. Stable async APIs, published documentation, reproducible install.
Measure: SDK installable from a public registry; documentation renders; a fresh project can build against it in one command.
Budget: $3,500
Deliverable 1.2 — Primitive circuit library v0.1
Description: At least three production-quality primitives (e.g. range proof, set membership, knowledge-of-preimage / ownership) implemented in arkworks, registered on the testnet verifier registry, callable from the SDK. Each primitive ships with a benchmark report and constraint count.
Measure: Each primitive registered on testnet with a published circuit_id; SDK exposes a typed proof-generation method per primitive; testnet transaction demonstrates end-to-end verify per primitive.
Budget: $4,000
Deliverable 1.3 — Reference integration examples
Description: Two or more runnable example Soroban contracts demonstrating distinct uses of the shared verifier registry through the primitive library (e.g. a range-gated action, a membership-gated action). Each example deploys to testnet and exercises the registry via the SDK.
Measure: Each example is runnable from a single command, ships with a README and reproduction steps, and produces verifiable testnet transactions calling r14-core.verify().
Budget: $2,500
Completion: approximately 10 weeks from award acceptance
Allocation: $15,000
Deliverable 2.1 — Expanded primitive library
Description: The primitive library expanded with additional widely useful circuits (e.g. attribute attestation, set non-membership, threshold predicates), each registered on testnet and exposed through the SDK.
Measure: At least six total primitives registered on testnet with published circuit_ids; each callable from the SDK; constraint and timing benchmarks published.
Budget: $4,500
Deliverable 2.2 — Developer tooling: CLI and MCP
Description: Production-quality CLI (`r14`) and MCP server (`r14-mcp`) covering registry operations and proof generation across the primitive library, so that both human developers and LLM agents can register, prove, and verify through the same surface.
Measure: Public binaries / packages; documented commands and tools; a recorded session showing both surfaces driving an end-to-end registration + verify on testnet.
Budget: $3,500
Deliverable 2.3 — Production registry indexer and monitoring
Description: A hosted indexer that tracks registry events (registrations, verify calls, circuit_id usage stats) with metrics, alerting, and a public REST endpoint used by the SDK.
Measure: Public endpoint live with health, registry, and per-circuit routes; uptime dashboard linkable from the docs.
Budget: $2,500
Deliverable 2.4 — Trusted-setup ceremony design
Description: A public design for the production Phase-2 ceremony covering the primitive library — coordinator, contributor protocol, transcript format, audit trail, and how the resulting verification keys map to mainnet circuit_ids.
Measure: Design document published; reviewed by the contracted specialist; no open blocking concerns.
Budget: $2,500
Deliverable 2.5 — External primitive-circuit review
Description: External review of every primitive in the library by a contracted specialist. Findings tracked in public issues and resolved before Tranche 3.
Measure: Published review report covering each primitive; all findings resolved or explicitly tracked with rationale.
Budget: $2,000
Completion: approximately 16 weeks from award acceptance
Allocation: $20,000
Security audit is covered by the SCF Audit Bank and is not in this budget.
Deliverable 3.1 — r14-core mainnet deployment
Description:
Measure: Mainnet contract address published; registered circuit_ids published; first cross-contract verify transaction linkable from the docs; multisig address published.
Budget: $5,000
Deliverable 3.2 — Production trusted-setup ceremony
Description: A multi-party Phase-2 ceremony for the primitive circuits, with multiple independent contributors and public transcripts. Resulting verification keys are what get registered on mainnet.
Measure: Multiple signed contribution attestations published; ceremony transcript hash committed; final key hashes match the registered circuit_ids on mainnet.
Budget: $4,000
Deliverable 3.3 — SDK 1.0 (mainnet-ready)
Description: A 1.0 SDK release wired to mainnet configuration, with a stable public API and semver guarantees going forward.
Measure: 1.0 release tagged on the public registry with changelog and published docs; CLI and MCP packaged binaries reference mainnet by default.
Budget: $3,500
Deliverable 3.4 — Developer documentation
Description: A public documentation site covering the registry architecture, the SDK, the full primitive library, and at least two integration walkthroughs, all targeting mainnet.
Measure: Public URL live; docs cover the full SDK public surface and every shipped primitive; walkthroughs independently reproducible end-to-end on mainnet.
Budget: $3,500
Deliverable 3.5 — Reference integrations on mainnet
Description: Two reference Soroban applications deployed to mainnet that consume primitives through r14-core via independent contracts (e.g. a compliance-style gate and an attestation-style flow). Demonstrates the shared-registry pattern in third-party code on mainnet.
Measure: Two mainnet contract addresses linkable from the docs, with mainnet transactions showing each integration calling r14-core.verify() end-to-end.
Budget: $3,000
Deliverable 3.6 — Professional user testing
Description: Structured usability session with external Soroban developers integrating primitives on mainnet through the SDK. Findings report published and actionable items merged.
Measure: Written report with numbered findings; PRs linked against each actionable finding; re-test confirms blocker fixes.
Budget: $1,000
Solo Founder. Abhirup Banerjee — Web3 developer and researcher specializing in DeFi, cryptography, and privacy-preserving systems. 15x hackathon winner including EthIndia 2024. Solana Turbin3 Research Graduate. Ex-Superteam India member. Previously Developer Relations Engineer at HackQuest, where I organized hackathons, mentored builders, and onboarded developers across India. Currently Co-founder and Devrel at AXICOV (Open Campus Incubation), building AI agentic infrastructure for the developer creator economy.
Expertise spans smart contract development (Rust, Solidity), zero-knowledge proof systems (Groth16, arkworks, BLS12-381), SDK and API design, technical documentation, and developer community building. I built the entire Root14 stack from scratch — Groth16 circuits, Poseidon hashing, Soroban contracts, CLI, indexer, MCP server, documentation site. Two Soroban contracts deployed on testnet with end-to-end private transfers verified. Eligible for SCF Audit Bank in Tranche 3.
Fractional collaborator (Tranche 2 onward). ZK research engineer for 2-in-2-out + withdrawal circuit review, MPC Phase-2 ceremony design, and viewing-key API correctness review. Scoped engagement (~40 hours), contracted deliverable, not advisory.
LinkedIn: https://www.linkedin.com/in/abhirup-banerjee-b0a786228/

