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 source zkasm
path
main/main.zkasm
-o ${destination rom file}
: specify output path for the resulting json
build/rom.json
-s ${steps}
: specify steps as $2^{steps}$
constants.zkasm
Example:
npm run build -- -i ${path} -o ${path} -s ${steps}