Published On Jun 25, 2024
Learn how to build your own layer 2 ZK-EVM blockchain from scratch using the Polygon CDK and the Polygon Kurtosis Package. In this video, we cover essential concepts required for understanding layer 2 chains and build our own ZK powered layer 2 blockchain with the Polygon CDK on Ethereum's Sepolia testnet.
📚 Essential Resources 📚
· Polygon CDK Kurtosis Package: https://dub.sh/polygon-kurtosis
· Alchemy RPC: https://dub.sh/alchemy
📚 Helpful Resources 📚
· L2Beat: https://dub.sh/l2beat
· Polygon CDK Docs: https://dub.sh/polygon-cdk-docs
· Kurtosis Docs: https://dub.sh/kurtosis-docs
📜 Scripts 📜
```
polycli wallet inspect --mnemonic "$seed" --addresses 9 | \
jq -r '.Addresses[] | [.ETHAddress, .HexPrivateKey] | @tsv' | \
awk 'BEGIN{split("sequencer,aggregator,claimtxmanager,timelock,admin,loadtest,agglayer,dac,proofsigner",roles,",")} {print "zkevm_l2_" roles[NR] "_address: \"" $1 "\""; print "zkevm_l2_" roles[NR] "_private_key: \"0x" $2 "\"\n"}'
```
⌚Timestamps ⌚
0:00 Introduction
1:17 Concepts: What is a Layer 2 blockchain?
4:37 Concepts: Layer 2 Architecture
13:47 Concepts: Data availability
16:12 Concepts: ZK Rollups
19:57 Concepts: ZK Validiums
23:31 Concepts: Rollups vs. Validiums
25:19 Concepts: Layer 2 Transaction Lifecycle
33:40 Concepts: What is the Polygon CDK?
36:61 Polygon CDK Kurtosis Package Introduction
38:39 Setting up your development environment
49:38 Exploring the codebase
57:57 Getting testnet funds
1:03:02 Deploying the L2 on Sepolia
1:41:17 Testing the L2 chain
2:01:00 Outro
Follow me on Twitter: / jarrodwattsdev
Discord Server: No longer available.