This repository contains the zkasm source code of the polygon-hermez zkevm
npm i
npm run build
The resulting json
file will be created in the ./build
directory
-
-i ${input zkasm file}
: specify input sourcezkasm
path- default value:
main/main.zkasm
- default value:
-
-o ${destination rom file}
: specify output path for the resultingjson
- default value:
build/rom.json
- default value:
-
-s ${steps}
: specify steps as$2^{steps}$ - default value: current steps in
constants.zkasm
- default value: current steps in
Example:
npm run build -- -i ${path} -o ${path} -s ${steps}