Skip to content

0xPolygonHermez/zkevm-rom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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}