export-aptos-verifier-0.2.1 is not a library.
export-aptos-verifier
CLI for generating Aptos Move Groth16 verifier packages.
Generation uses root-level flags:
Compact Arkworks bundle mode:
Common options:
--package-name <name>: defaults to the sanitized--outdirectory name--module-name <name>: defaults toverifier--account-address <address>: defaults to0x0--mode library|entry|test: defaults toentry--run-aptos-test: runsaptos move test --package-dir <out>--skip-local-verify: skips local Arkworks proof verification--prepared: intentionally returnsERR_PREPARED_NOT_IMPLEMENTED--force: overwrites the output directory
--proof is optional. Supplying proof data enables local verification and generated Move tests. --public is optional when proof.json already contains publicSignals.
proof-data is the only subcommand:
It prints Move helper functions for proof_a_bytes(), proof_b_bytes(), proof_c_bytes(), and public_inputs_bytes() using the same serialization as generated tests.
Supported inputs:
- snarkjs-compatible JSON
- Arkworks VK/proof JSON or raw hex inputs
- compact Arkworks bundles
Supported curves:
- BN254
- BLS12-381
MIT.