Skip to main content

Deploying a ZK Rollup

Zero-Knowledge (ZK) rollups on RibbleChain provide high security and privacy for Layer 3 (L3) applications, ideal for use cases like DeFi or AI marketplaces requiring data confidentiality. This guide walks you through deploying a ZK rollup using the RibbleChain Rollup SDK.

Prerequisites

  • Complete the Getting Started Guide.
  • Install a ZK proof library: npm install @ribblechain/zk-proof.
  • Ensure your smart wallet has sufficient $XRB tokens.

Step 1: Scaffold a ZK Rollup

Create a ZK rollup project:

ribblechain-cli create-rollup --type zk --name my-zk-rollup