Proposing and Challenging
This guide explains how to participate in Facet's ZK Fault Proof system by running a proposer or challenger.
Overview
Facet's proof system allows:
Validity proofs: Anyone can submit direct ZK proofs (permissionless)
Fault proofs: Whitelisted proposers submit optimistic proposals
Challenges: Anyone can challenge incorrect proposals
Single-round resolution: ZK proofs resolve disputes instantly
The system uses optimistic proposals by default, with a fallback window where anyone can propose if whitelisted proposers are silent.
How It Works
Propose → Challenge? → Prove? → ResolveProposer submits a state root with ETH bond
Anyone can challenge within the window
ZK proof resolves the dispute in one transaction
Winner takes both bonds
Prerequisites
Clone the Repository
Succinct Prover Network
The system uses Succinct's Prover Network to generate ZK proofs. You'll need:
An account funded on the Prover Network
The private key for this account in your configuration
Running a Proposer
1. Create Configuration
Create .env.proposer file in the root of the repository:
To run an L2_NODE_RPC:
Repo: https://github.com/0xFacet/facet-optimism — This is a read-only fork of op-node used to expose auxiliary RPCs (e.g., sync status, output-at-clock) that aren’t yet implemented in facet-node. It’s generally only required for proposers/challengers, not for normal users.
You will need the following in your env:
2. Start the Proposer Service
3. How Proposing Works
The proposer service:
Monitors the anchor block on Rollup.sol
Runs Facet node to compute new state
Submits proposal with bond when needed
Uses Prover Network to generate ZK proof if challenged
Running a Challenger
1. Create Configuration
Create .env.challenger file in the root of the repository:
2. Start the Challenger Service
3. How Challenging Works
The challenger service:
Monitors new proposals on-chain
Validates each proposal independently
Challenges incorrect proposals
Claims bonds when successful
Manual Interaction
Query System Configuration
All parameters are immutable and can be queried from the contract.
Timing parameters:
MAX_CHALLENGE_SECS- Challenge window durationMAX_PROVE_SECS- Proof deadline after challengeFALLBACK_TIMEOUT_SECS- When anyone can propose
Bond requirements:
PROPOSER_BOND- ETH required to proposeCHALLENGER_BOND- ETH required to challenge
L2 configuration:
PROPOSAL_INTERVAL- Blocks between proposalsL2_BLOCK_TIME- Seconds per L2 blockL2_START_TIMESTAMP- L2 genesis timestamp
Proof system:
VERIFIER- SP1 verifier contractROLLUP_CONFIG_HASH- Chain configurationAGG_VKEY- Aggregation verification keyRANGE_VKEY_COMMITMENT- Range proof commitment
Example query:
Submit a Proposal
Challenge a Proposal
Submit a Validity Proof (Permissionless)
Anyone can submit a validity proof directly:
Monitoring Your Activity
Check Proposal Status
View Credit Balance
Claim Credits
Economic Model
Bonds
Check current bond amounts using the contract
Both proposer and challenger post equal bonds
Bonds are returned to the winner
Resolution Rules
Valid proposal: Proposer gets both bonds
Successful challenge: Challenger gets both bonds
Invalid parent: Proposal automatically fails
Profitability Considerations
L1 gas costs for transactions
Proof generation costs on Prover Network
Competition from other participants
Risk assessment for challenges
Summary
To participate in Facet's proof system:
Clone the repository and set up your environment
Configure services with
.env.proposeror.env.challengerFund accounts on both Ethereum and Prover Network
Run services to automatically propose or challenge
Monitor and claim rewards from successful participation
The system ensures honest participation is profitable while maintaining complete immutability - no admin keys can interfere with the propose-challenge-prove cycle.
Last updated