What AggchainProofGen Does
AggchainProofGen generates state transition proofs for chains that require mathematical verification of internal operations. While chains using a trusted sequencer model can use simple ECDSA signature authorization, some chains need comprehensive proofs that verify both internal operations and cross-chain bridge activities. AggchainProofGen implements the chain-side component of the State Transition Proof system introduced in Agglayer v0.3. It verifies the chain’s consensus mechanism, verifies bridge constraints, and produces an Aggchain Proof that AggSender includes in its certificate.When AggchainProofGen Is Needed
AggchainProofGen is required for chains that useCONSENSUS_TYPE = 1 (generic validity proof) rather than CONSENSUS_TYPE = 0 (ECDSA signature). This applies to:
- Zero-knowledge rollups: Chains that generate zk-SNARKs or zk-STARKs for state transitions
- Custom consensus chains: Chains with consensus mechanisms that cannot be authorized by a single trusted sequencer address
- High-security deployments: Chains where mathematical certainty about state correctness is required rather than trusted-party authorization