Skip to main content
Use this guide to deploy a local testnet instance of cdk-opgeth using Kurtosis. This includes a local L1 + L2 environment with Agglayer components and OP Stack infrastructure.

1. Install Kurtosis

Follow the installation instructions from the Kurtosis official docs.

2. Launch the cdk-opgeth Stack

Use the command below to run the Kurtosis package:
This will:
  • Start an L1 devnet (Ethereum-like chain)
  • Deploy Agglayer common contracts
  • Deploy op-geth, op-node, and op-batcher
  • Deploy Aggkit and op-succinct infrastructure
Kurtosis service output

3. Bridge Funds from L1 to L2

Use polycli to bridge assets from L1 to L2:
Kurtosis service output
Command parameters:
  • polycli ulxly bridge asset: Initiates the bridge
  • --bridge-address: Reads from combined.json
  • --private-key: Specifies the sender wallet
  • --destination-address: L2 recipient
  • --destination-network: Target network ID (1 for devnet)
  • --value: Amount to bridge in wei
  • --rpc-url: Dynamically resolved RPC from Kurtosis
A successful call returns a transaction confirmation. Kurtosis service output

4. Check Balance on L2

Kurtosis service output

5. Send a Transaction on L2 (Inscription)

This command sends a transaction with Hello Agglayer! embedded in the calldata. Kurtosis service output

6. View the Inscription

Expected output: