Skip to main content

CDK Erigon

These configurations are based on cdk-erigon and fork 12 of the agglayer contracts.

ZK Rollup

This configuration deploys a ZK rollup environment powered by Polygon's zkEVM Prover. It ensures data availability on-chain, providing high security and Ethereum-level guarantees.

What gets deployed?

Best for

  • Applications requiring Ethereum-level security guarantees.
  • Scenarios where on-chain data availability is critical.

Deployment

To deploy this environment:

kurtosis run --enclave cdk --args-file .github/tests/cdk-erigon/rollup.yml .

ZK Validium

This configuration deploys a ZK validium environment, which stores data off-chain for reduced costs while maintaining security through zk proofs.

What gets deployed?

Best for

  • Applications requiring lower transaction costs.
  • Scenarios where off-chain data availability is acceptable.

Deployment

To deploy this environment:

kurtosis run --enclave cdk --args-file .github/tests/cdk-erigon/validium.yml .

Sovereign

This configuration deploys a sovereign chain that operates independently of L1 while maintaining zk proof capabilities.

What gets deployed?

Best for

  • Independent chains that do not rely on L1 for security.
  • Testing sovereign chain concepts.

Deployment

To deploy this environment:

kurtosis run --enclave cdk --args-file .github/tests/cdk-erigon/sovereign-ecdsa-multisig.yml .

The former sovereign environment based on the pessimistic consensus contract type can be deployed with:

kurtosis run --enclave cdk --args-file .github/tests/cdk-erigon/sovereign-pessimistic.yml .