Overview
This section explains how to customize your Polygon CDK devnet deployment.
Running With Custom Arguments
You can pass custom arguments using the --args-file
flag:
kurtosis run --enclave cdk --args-file params.yml .
Alternatively, you can specify arguments directly on the command line:
kurtosis run --enclave cdk . '{"args": {"verbosity": "debug"}}"'
Do not combine an args file with on-the-fly arguments as Kurtosis cannot merge parameters from both sources and will use only the on-the-fly arguments.
Example Configurations
Below are some sample configurations to help you get started. Feel free to copy and adapt these examples to fit your use case. You can find more examples in the .github/tests/
directory.
CDK OP Geth
Based on op-geth.
Designed for fast, high-throughput deployments and OP Stack familiarity, with native Agglayer integration.
CDK Erigon
Based on cdk-erigon.
Optimized for customization and zk security, it provides native token support, custom gas metering, multiple modes (rollup, validium and sovereign), and extensive configuration options.
Observability
Deploy the default stack with debugging and observability tools.