Custom VM Integration
RibbleChain's Layer 3 (L3) rollups support custom Virtual Machines (VMs) like MoveVM or ZKVM, enabling developers to tailor execution environments for specific use cases. This guide explains how to integrate a custom VM into your L3 rollup.
Why Use a Custom VM?
- MoveVM: Ideal for resource-oriented programming (e.g., DeFi with secure asset management).
- ZKVM: Optimized for privacy-preserving computations (e.g., AI model inference).
- Custom VMs: Enable unique logic or performance optimizations for your dApp.
Prerequisites
- Complete the Getting Started Guide.
- Familiarity with your chosen VM (e.g., MoveVM, ZKVM).
- RibbleChain CLI and SDK installed.
Step 1: Set Up the Rollup
Create a rollup project with custom VM support:
ribblechain-cli create-rollup --type custom --vm move --name my-move-rollup