build-lz-options

0.3.2 • Public • Published

LayerZero

build-lz-options

NPM Version Downloads NPM License

Create LayerZero OApp Options Static Badge

This package provides a convenient way to build and serialize Options for LayerZero OApps.

npx build-lz-options@latest
# or
yarn build-lz-options
# or
pnpm build-lz-options
# or
bunx build-lz-options

⚠️ Known Warnings

Options do not specify any lzReceive gas

The default LayerZero ExecutorFeeLib requires the sum of lzReceive gas for all Options for a message is a positive integer. This is classified as a warning and not an error, as build-lz-options tool is not aware of the context in which the generated Options are used. For example, Options may be combined elsewhere in the application, perhaps with OApp Enforced Options, and the result will have a positive lzReceive gas sum.

PreCrime Verifier Option is not supported by the default LayerZero DVN. Please ensure the DVN you have specified supports this option.

The default LayerZero DVN does not currently support the Verifier PreCrime option. If you specify this option, please ensure that the DVN you are using supports PreCrime.

Readme

Keywords

Package Sidebar

Install

npm i build-lz-options

Weekly Downloads

5

Version

0.3.2

License

MIT

Unpacked Size

1.08 MB

Total Files

4

Last publish

Collaborators

  • layerzero-bot