Set Up the Development Environment¶
This guide walks you through installing the three CLI tools required to develop with zkMove.
1. Install the Customized move CLI¶
A customized Move CLI is required to generate witnesses. Install it directly from the zkMove fork:
2. Install the zkmove CLI¶
The zkmove CLI is the primary tool for zkMove development. It supports proof generation, proof verification, and circuit debugging.
Steps:
- Download the latest release from: https://github.com/zkmove/zkmove/tree/main/release/latest
- Extract the archive.
- Move the binary to your preferred location (e.g.,
/usr/local/bin). - Make it executable and verify the installation:
3. Install the Customized aptos CLI¶
A customized build of the Aptos CLI is required. It includes native functions used by the Halo2 on-chain verifier, and is used to interact with the local DevNet, publish contracts, and submit transactions.
Steps:
- Download the release from: https://github.com/zkmove/aptos-core/releases/download/aptos-cli-v7.11.1-zkmove
On macOS, the file is named
aptos-cli-<version>-macOS-arm64.zip. Choose the correct architecture (x86_64orarm64).
- Extract the archive and move the binary to your preferred location.
- Make it executable:
- Verify the installation:
4. Clone the halo2-verifier.move Repository¶
The halo2-verifier.move repository contains the source code for the on-chain Halo2 verifier. You will need it to publish the verifier contracts.