Capital allocation dashboard open on a desk in a DeFi protocol operations setting.
Protocols

SHARP Operator Guide

Operational manual for entities running a SHARP (SHARed Prover) instance, covering job scheduling, proof aggregation logic, L1 verification cost management, and proving pipeline health monitoring.
introduction
SHARED PROVER INFRASTRUCTURE

SHARP Operations Overview

Operational context for entities running a SHARP instance, covering the shared proving model, job lifecycle, cost aggregation, and the operational responsibilities of a prover operator.

The SHARed Prover (SHARP) is Starknet's shared infrastructure for generating and settling validity proofs on Ethereum L1. Instead of each application submitting its own proof, multiple Cairo programs—from Starknet OS blocks to standalone application logic—are batched into a single aggregated proof. This design amortizes the L1 verification gas cost across many jobs, making on-chain verification economically viable for a wide range of workloads. A SHARP operator runs the pipeline that collects proof jobs, generates a composite proof using Starknet's proving software (Stone or Stwo), and submits the final proof to the GpsStatementVerifier contract on Ethereum.

The operational lifecycle of a SHARP job begins when a user or sequencer submits a Cairo program execution trace. The SHARP operator aggregates these jobs, manages the proof generation queue, and decides when to trigger the proving process based on economic thresholds and time constraints. Once a proof is generated, the operator submits an L1 transaction to verify it, paying the gas cost upfront. The system then reconciles costs by attributing a pro-rata share of the L1 verification fee to each job included in the batch. Operators must continuously monitor the proving pipeline for stalls, L1 gas price volatility, and verification transaction failures that can delay finality for all dependent systems.

For teams running a SHARP instance, operational resilience depends on robust job scheduling, L1 gas management, and failure recovery procedures. A delayed or failed proof submission does not just affect a single application; it blocks the L1 state update for every job in that batch, impacting bridges, L2-to-L1 messaging, and any protocol relying on verified Starknet state. Chainscore can review SHARP deployments for cost efficiency, pipeline health monitoring, and disaster recovery readiness, ensuring that prover operators maintain reliable verification throughput under varying network conditions.

SHARED PROVER OPERATIONS

SHARP Operator Quick Facts

Operational facts for teams running a SHARP instance, covering job lifecycle, cost management, and pipeline health monitoring.

AreaWhat changesWho is affectedAction

Proof aggregation

Jobs are batched to amortize L1 verification costs across multiple proofs

Prover operators, rollup teams

Monitor aggregation queue depth and L1 gas prices to optimize batch size

L1 verification cost

Cost fluctuates with Ethereum gas market and proof size

Prover operators, protocol treasury managers

Set dynamic gas price thresholds for submission; verify cost models against actual settlement

Proving pipeline health

Stalled jobs or prover crashes delay L1 state finality

Prover operators, bridge security monitors

Alert on job queue age exceeding threshold; implement automated prover restarts

Cairo layout support

New layout versions may change proof generation cost and supported builtins

Application provers, rollup developers

Verify layout compatibility before upgrading Stone/Stwo prover versions

Fact registry interaction

SHARP submits state transitions to Ethereum's GpsStatementVerifier

Bridge operators, L2-to-L1 messaging services

Monitor verification transaction confirmations; do not finalize withdrawals before fact registration

Job scheduling

Concurrent proof generation jobs compete for prover resources

Prover operators

Implement priority queuing for time-sensitive proofs; monitor resource saturation

Upgrade coordination

Prover software upgrades may require coordinated cutover with other SHARP operators

Prover operators, Starknet core developers

Test new prover versions on testnet SHARP instances before mainnet deployment

technical-context
SHARP OPERATIONS

Proving Pipeline Architecture

The end-to-end flow of Starknet's SHARed Prover, from job intake and proof aggregation to L1 verification and cost settlement.

The SHARP (SHARed Prover) pipeline is the operational backbone that converts Cairo program execution traces into verified STARK proofs and settles them on Ethereum L1. For an operator, the pipeline is not a single software component but a sequenced workflow: a Cairo program and its inputs are submitted as a job, the Stone (or next-generation Stwo) prover generates a STARK proof, multiple proofs are aggregated into a single recursive proof, and a final Solidity verifier contract on L1 checks the proof and updates the state root in the fact registry. Understanding this architecture is essential for managing throughput, latency, and cost.

Operationally, the most critical decision point is the aggregation strategy. SHARP aggregates proofs from disparate applications into a single L1 verification transaction, amortizing gas costs across all participants. An operator must monitor the proof aggregation queue, configure job scheduling policies to balance latency against cost efficiency, and manage the L1 verification transaction submission—including gas price estimation and nonce management—to prevent stalled proofs. The pipeline's health is defined by the time from job submission to L1 fact registration, with key failure modes including prover crashes, insufficient L1 gas funding, and data availability mismatches between the generated proof and the on-chain state.

For teams running SHARP instances, the operational surface includes the prover's Cairo layout compatibility, the fact registry contract's state on L1, and the economic parameters of proof submission. A misconfigured prover can generate proofs that the L1 verifier rejects. A poorly timed L1 transaction can incur excessive costs or delay finality for dependent L2-to-L1 messages. Chainscore can review a SHARP deployment's end-to-end architecture, validate job scheduling and aggregation logic, and stress-test the pipeline against L1 gas volatility to ensure reliable and cost-optimized verification throughput.

SHARP OPERATOR IMPACT ANALYSIS

Affected Systems and Stakeholders

Prover Operators

SHARP operators are the primary stakeholders. Changes to the SHARP framework directly affect job scheduling, proof aggregation logic, and L1 verification cost management.

Key Impacts:

  • Pipeline Configuration: Operators must update job scheduling parameters to align with new proof aggregation windows or Cairo layout support.
  • Cost Model: L1 gas consumption for verifyProofAndRegister calls changes with proof size and aggregation efficiency. Operators need to recalibrate cost models to maintain profitability.
  • Monitoring: New metrics for aggregation batch sizes, proof generation latency, and L1 finality delays must be integrated into health dashboards.

Action Items:

  • Review the latest Stone/Stwo prover release notes for breaking API changes.
  • Stress-test the updated proving pipeline on testnet to validate throughput and cost assumptions before mainnet deployment.
implementation-impact
SHARP PROVING PIPELINE

Operational Impact and Optimization

Operational controls and optimization strategies for entities running a SHARP instance to manage proof generation costs, ensure verification throughput, and maintain a resilient proving pipeline.

01

Proof Aggregation and Job Scheduling

Efficient SHARP operation depends on intelligent job batching. Aggregating multiple Cairo program proofs into a single L1 verification transaction amortizes gas costs across jobs. Operators should configure scheduling logic to balance proof latency against aggregation savings, setting maximum wait times and minimum batch sizes based on L1 gas conditions. Misconfigured schedulers can delay finality for time-sensitive applications or submit sub-economical batches. Chainscore can review your aggregation logic and scheduling parameters to optimize cost per proof.

02

L1 Verification Cost Management

The dominant operational cost for SHARP operators is the gas consumed by the verifyProofAndRegister call on Ethereum L1. This cost is a function of the proof size and the current L1 gas price. Operators must implement dynamic gas price thresholds to pause submissions during fee spikes and use calldata optimization techniques. Monitoring the mempool for pending verification transactions and using gas tokens or 1559-style fee estimation prevents overpayment. Chainscore can audit your L1 cost management strategy and recommend dynamic pricing models.

03

Proving Pipeline Health Monitoring

A stalled proving pipeline can halt L2 finality. Operators must monitor key metrics: proof generation queue depth, job processing latency, SHARP instance resource utilization (CPU/memory), and the time between L1 batch submission and on-chain verification. Alerting thresholds should be set for queue backlogs, proof generation failures, and L1 transaction non-confirmation. A robust monitoring stack prevents silent failures that cascade into user-facing transaction delays. Chainscore can design a comprehensive monitoring and alerting suite for your SHARP deployment.

04

Fact Registry and Finality Verification

After L1 verification, the proof's fact hash is registered in the GpsStatementVerifier contract. Downstream systems, including bridges and L2-to-L1 messaging services, depend on this fact registry for finality. Operators must independently verify that submitted facts are correctly registered and monitor for reorgs on Ethereum that could invalidate a verification transaction. A discrepancy between a submitted proof and a registered fact indicates a critical pipeline error requiring immediate intervention.

05

Prover Software Compatibility and Upgrades

SHARP operators must maintain strict version compatibility with the Starknet prover (Stone/Stwo) and the Cairo programs being proven. A prover software upgrade can change proof layouts, breaking the aggregation pipeline if SHARP is not updated in lockstep. Operators should run a staging environment that replays production proof jobs against new prover releases to validate compatibility before upgrading the main instance. Chainscore can provide upgrade readiness reviews and regression testing for your SHARP deployment.

06

Disaster Recovery and Redundancy

A single SHARP instance is a critical point of failure for rollup finality. Operators should implement a hot standby SHARP instance with a replicated job queue to take over in case of a primary instance failure. Recovery procedures must cover database corruption, cloud zone outages, and L1 transaction replacement if a verification transaction is stuck due to low gas pricing. Documented runbooks and regular recovery drills are essential for meeting strict finality SLAs. Chainscore can validate your disaster recovery plan and conduct recovery testing.

SHARP OPERATOR RISK ASSESSMENT

Operational Risk Matrix

Key operational risks, failure modes, and mitigation actions for entities running a SHARP instance to manage proof generation, aggregation, and L1 verification costs.

Risk AreaFailure ModeSeverityAffected ActorsMitigation and Action

Proof Generation Pipeline Stall

Job scheduler fails to pick up new proof tasks or Cairo program execution hangs, causing a backlog of unproven blocks.

Critical

SHARP Operators, Starknet Sequencer, Rollup Teams

Implement heartbeat monitoring on job queue depth. Set alerts for proof generation latency exceeding thresholds. Chainscore can review pipeline health dashboards.

L1 Verification Cost Spike

Ethereum gas price surge makes proof submission economically unviable, leading operators to delay verification and break finality expectations.

High

SHARP Operators, L2 Applications, Bridge Operators

Configure dynamic gas price thresholds for submission. Monitor L1 gas markets and maintain a cost buffer. Chainscore can model cost sensitivity and recommend hedging strategies.

Proof Aggregation Logic Error

A bug in the aggregation circuit or operator configuration produces an invalid aggregated proof that is rejected by the L1 verifier contract.

Critical

SHARP Operators, Starknet Core Developers

Run pre-submission proof verification locally. Stage upgrades on testnet SHARP instances first. Chainscore can audit aggregation configuration and upgrade procedures.

Fact Registry Desynchronization

A submitted proof is confirmed on L1 but the operator's local state tracking of the fact registry falls out of sync, leading to incorrect finality reporting.

High

Bridge Operators, L2-to-L1 Message Relayers

Continuously reconcile local fact registry state against on-chain GpsStatementVerifier events. Chainscore can validate fact registry monitoring integration.

Prover Software Incompatibility

A new Stone or Stwo prover release introduces a breaking API change or Cairo layout deprecation not yet supported by the operator's SHARP instance.

High

SHARP Operators, Application Provers

Track Starknet Prover release notes. Maintain a staging environment for compatibility testing before upgrading production. Chainscore can provide upgrade readiness reviews.

Operator Key Compromise

The key controlling proof submission transactions is compromised, allowing an attacker to front-run or censor proof submissions.

Critical

SHARP Operators, Starknet Security Council

Use a dedicated, low-balance hot wallet with strict gas allowances. Implement multi-signature controls for parameter changes. Chainscore can review key management and transaction signing architecture.

Data Availability Gap

The state diff or input data required for proof generation becomes unavailable from the operator's data source before the proof is generated.

High

SHARP Operators, Full Node Operators

Ensure redundant, geographically distributed data sources. Monitor data availability from feeder gateway or full node RPC endpoints. Chainscore can assess data sourcing resilience.

PROVING PIPELINE OPERATIONAL READINESS

SHARP Operator Health Checklist

A systematic checklist for SHARP operators to validate the health, cost-efficiency, and reliability of their proving infrastructure. Each item defines what to check, why it matters for proof settlement on L1, and the specific signal or artifact that confirms readiness.

What to check: Monitor the depth of the proof generation queue and the age of the oldest unproven job. Verify that the scheduler is correctly prioritizing jobs based on L1 finality deadlines and user-specified constraints.

Why it matters: A growing queue depth or jobs approaching their expiration window indicates a capacity shortfall. If proofs are not generated and submitted before the L1 verification window closes, state transitions may be delayed, impacting cross-chain message delivery and user fund security.

Readiness signal: Queue depth is stable and within provisioned capacity limits during peak load. No jobs are aging beyond 50% of their allowed time-to-proof window. The scheduler's allocation algorithm correctly distributes work across available prover instances.

Chains We Build On

Looking to build on a specific blockchain?

We build smart contracts, DeFi applications, wallets, tokenization platforms, and blockchain infrastructure across the major ecosystems teams choose today. That includes Ethereum, Arbitrum, Optimism, Polygon, Avalanche, Solana, Sui, Aptos, Hedera, Stellar, and NEAR, with support for additional EVM and non-EVM networks based on your product requirements.

EVM ecosystems

  • Ethereum logo
    Ethereum
  • Arbitrum logo
    Arbitrum
  • Optimism logo
    Optimism
  • Polygon logo
    Polygon
  • Avalanche logo
    Avalanche
  • Cronos logo
    Cronos

Non-EVM ecosystems

  • Solana logo
    Solana
  • Sui logo
    Sui
  • Aptos logo
    Aptos
  • Hedera logo
    Hedera
  • Stellar logo
    Stellar
  • NEAR logo
    NEAR

Additional ecosystems

  • Polkadot logo
    Polkadot
  • Cosmos logo
    Cosmos
  • TON logo
    TON
  • Cardano logo
    Cardano
  • Algorand logo
    Algorand
  • Tempo logo
    Tempo

Also available for Base, appchains, custom EVM networks, and cross-chain product architecture.

SHARP OPERATOR FAQ

Frequently Asked Questions

Common operational questions for teams running a SHARP (SHARed Prover) instance, covering job scheduling, cost management, and pipeline health.

Cost optimization is a continuous process balancing proof latency against L1 gas prices.

What to check:

  • Monitor the gasPrice on Ethereum L1 and compare it against your internal cost thresholds.
  • Analyze the size of aggregated proofs. Larger batches amortize the fixed verification cost over more jobs but increase latency.
  • Review the verifyAndConfirm transaction parameters.

Why it matters: Submitting during an L1 gas spike can erase profitability. Operators must implement dynamic gas pricing logic that delays submission until the base fee drops below a configured maximum.

Operational signal: A sudden increase in cost-per-job without a corresponding spike in L1 gas prices may indicate inefficient proof aggregation or a regression in the Cairo program layout.

Trusted by Industry Leaders

Delivering blockchain solutions for 5+ years.

We have partnered with 50+ leading DeFi protocols, NFT ecosystems, and fintech innovators to build secure, scalable, and capital-efficient blockchain products.

Selected Partners & Clients

ChainVote logo
Reax logo
Sokail logo
Swapsicle logo
SyntheX logo
Tekika logo
Telos logo
Zexe logo
ChainVote logo
Reax logo
Sokail logo
Swapsicle logo
SyntheX logo
Tekika logo
Telos logo
Zexe logo
ChainVote logo
Reax logo
Sokail logo
Swapsicle logo
SyntheX logo
Tekika logo
Telos logo
Zexe logo
ChainVote logo
Reax logo
Sokail logo
Swapsicle logo
SyntheX logo
Tekika logo
Telos logo
Zexe logo
“I've been working with Chainscore Labs for last 3+ years, they've consistently delivered with strong ownership across multiple projects. The team is reliable and detail-oriented.”
L
Lee Erswell
CEO, Telos Foundation
how to get started

How to get started?

If you're looking for blockchain integration, ChainScore Labs has 5+ years of experience helping teams build and integrate exchanges, wallets, smart contracts, tokenization solutions, and protocol-connected products, we can help you choose the right path, integrate securely, and get to production faster. Our team consists of experienced blockchain developers and architects who can help you with your blockchain integration needs.

01

Exploration & Strategy

Define your product goals and choose the right blockchain architecture for your use case.

02

Architecture & Design

Design the smart contracts, tokenomics, and security parameters of your system.

03

Development & Integration

Build and integrate with wallets, oracles, and front-end dApps for a seamless experience.

04

Security & Launch

Comprehensive audits followed by a risk-managed mainnet deployment to protect your users.

Start a build

Need a blockchain engineering team?

Send the project context and we will respond with next steps, scope questions, and a practical path to delivery.