0.0.1-alpha.28 • Published 4 years ago

@eth-optimism/rollup-dev-tools v0.0.1-alpha.28

Weekly downloads
29
License
MIT
Repository
github
Last release
4 years ago

Rollup Developer Tools

Package that contains developer tools for building on optimistic rollup.

Dependencies

Please refer to the root README of this repo.

Setup

Run yarn install to install necessary dependencies.

Building

Run yarn build to build the code. Note: yarn all may be used to build and run tests.

Testing

Run yarn test to run the unit tests.

Transpiler

Enables transpilation of L1 contracts to L2 bytecode.

Configuration

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.

Execution

The transpiler is executed by running

yarn transpile <input path> <output path> or yarn transpile <bytecode hex string>