Package that contains developer tools for building on optimistic rollup.
Please refer to the root README of this repo.
Run yarn install
to install necessary dependencies.
Run yarn build
to build the code. Note: yarn all
may be used to build and run tests.
Run yarn test
to run the unit tests.
Enables transpilation of L1 contracts to L2 bytecode.
The transpiler is configured via the config/default.json
file, which should not be changed.
Sensitive config values and overrides can be configured in config/.env
which will not be versioned.
See: config/.env.example
for more info.
The transpiler is executed by running
yarn transpile <input path> <output path>
or
yarn transpile <bytecode hex string>