Polygon CDK (Chain Development Kit) is a modular framework that developers can use to build and deploy Zero Knowledge Proofs enabled Rollups and Validiums.
The CDK allow to build Rollups that are ZK powered, verifying the execution using the zkEVM prover from Polygon, they can be completelly personalizable because its modullar architecture.
Setup Kurtosis following this instructions https://github.com/0xPolygon/kurtosis-cdk?tab=readme-ov-file#getting-started
- You can run locally against kurtosis-cdk environment using: docs/local_debug.md
You can locally build a production release of CDK CLI + cdk-node with:
make build
You can build and run a debug release locally using:
cargo run
It will build and run both binaries.
- Run your kurtosis environment
- build
cdk-erigon
and make it available in your system's PATH - Run
scripts/local_config
- cargo run -- --config ./tmp/cdk/local_config/test.kurtosis.toml --chain ./tmp/cdk/local_config/genesis.json erigon
Contributions are very welcomed, the guidelines are currently not available (WIP)
Feel free to open an issue if you have any feature request or bug report.
Polygon Chain Development Kit Copyright (c) 2024 PT Services DMCC
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.