Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 600 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 600 Bytes

zkevm-rom

This repository contains the zkasm source code of the polygon-hermez zkevm

Usage

npm i
npm run build

The resulting json file will be created in the ./build directory

Advanced options

  • -i ${input zkasm file}: specify input source zkasm path
    • default value: main/main.zkasm
  • -o ${destination rom file}: specify output path for the resulting json
    • default value: build/rom.json
  • -s ${steps}: specify steps as $2^{steps}$
    • default value: current steps in constants.zkasm

Example:

npm run build -- -i ${path} -o ${path} -s ${steps}